This commit is contained in:
as2252258@163.com
2021-03-06 00:28:58 +08:00
parent c0cce890dc
commit 6b4f3b8ed9
+1 -1
View File
@@ -365,7 +365,7 @@ class Router extends HttpService implements RouterInterface
return null;
}
if (empty($explode)) {
return $parent->findNode('/');
return $parent;
}
while ($value = array_shift($explode)) {
$node = $parent->findNode($value);