This commit is contained in:
2021-09-18 10:52:46 +08:00
parent c2243b780c
commit 0b172ed567
+1
View File
@@ -110,6 +110,7 @@ class Router extends HttpService implements RouterInterface
if (is_string($handler)) {
$handler = explode('@', $handler);
$handler[0] = $this->namespace . '\\' . $handler[0];
}
HandlerManager::add($path, $method, new Handler($path, $handler));