This commit is contained in:
2021-07-20 18:20:57 +08:00
parent 4fb0b9b0e9
commit 3b05c856ef
+3 -3
View File
@@ -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);
}