From 0186bbc33d6446aa9acbcbde2108c55d6820bb01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 2 Apr 2021 18:52:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Route/Router.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 960e5cf4..f2c41f79 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -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 {