From 3b05c856ef2a81688fa7239f6b1a3bd1c999f5a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 20 Jul 2021 18:20:57 +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 b966582a..462da27c 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -113,9 +113,9 @@ class Router extends HttpService implements RouterInterface $handler = Closure::bind($handler, new Controller()); } - if ($this->useTree === ROUTER_TREE) { - return $this->tree($path, $handler, $method); - } +// if ($this->useTree === ROUTER_TREE) { +// return $this->tree($path, $handler, $method); +// } return $this->hash($path, $handler, $method); }