This commit is contained in:
2021-04-02 18:52:11 +08:00
parent ca95569485
commit 0186bbc33d
+3 -3
View File
@@ -484,9 +484,9 @@ class Router extends HttpService implements RouterInterface
$newPath = [];
/** @var Node $item */
foreach ($child as $item) {
if ($item->path == '/') {
continue;
}
// if ($item->path == '/') {
// continue;
// }
if (!empty($item->childes)) {
$newPath[] = $this->readByChild($item->childes, $paths . '/' . $item->path);
} else {