This commit is contained in:
as2252258@163.com
2021-07-11 04:05:15 +08:00
parent 6d0b6f887d
commit ca50c16f88
+1 -1
View File
@@ -92,7 +92,7 @@ class Node extends HttpService
{
if (is_string($handler) && str_contains($handler, '@')) {
list($controller, $action) = explode('@', $handler);
if (!empty($this->namespace)) {
if (!class_exists($controller) || !empty($this->namespace)) {
$controller = implode('\\', $this->namespace) . '\\' . $controller;
}
$this->handler = $this->getReflect($controller, $action);