改名
This commit is contained in:
@@ -484,9 +484,9 @@ class Router extends HttpService implements RouterInterface
|
|||||||
$newPath = [];
|
$newPath = [];
|
||||||
/** @var Node $item */
|
/** @var Node $item */
|
||||||
foreach ($child as $item) {
|
foreach ($child as $item) {
|
||||||
if ($item->path == '/') {
|
// if ($item->path == '/') {
|
||||||
continue;
|
// continue;
|
||||||
}
|
// }
|
||||||
if (!empty($item->childes)) {
|
if (!empty($item->childes)) {
|
||||||
$newPath[] = $this->readByChild($item->childes, $paths . '/' . $item->path);
|
$newPath[] = $this->readByChild($item->childes, $paths . '/' . $item->path);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user