This commit is contained in:
2021-08-05 11:33:23 +08:00
parent 9162b02766
commit dae8e52d07
+1
View File
@@ -423,6 +423,7 @@ class Router extends HttpService implements RouterInterface
return null; return null;
} }
$parent = static::$nodes[$method]['/']; $parent = static::$nodes[$method]['/'];
var_dump($explode);
while ($value = array_shift($explode)) { while ($value = array_shift($explode)) {
$node = $parent->findNode($value); $node = $parent->findNode($value);
if (!$node) { if (!$node) {