改名
This commit is contained in:
@@ -506,7 +506,8 @@ class Router extends HttpService implements RouterInterface
|
|||||||
$node = $this->tree_search(['*']);
|
$node = $this->tree_search(['*']);
|
||||||
}
|
}
|
||||||
if (!isset($node)) {
|
if (!isset($node)) {
|
||||||
$node = $this->tree_search($uri->getExplode());
|
$_explode = array_filter(explode('/', $uri->getPath()));
|
||||||
|
$node = $this->tree_search($_explode);
|
||||||
}
|
}
|
||||||
return $node;
|
return $node;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user