diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 5a4bd10d..a859f0c4 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -280,7 +280,7 @@ class Node extends HttpService throw new Exception('method ' . $action . ' not exists at ' . $controller . '.'); } - $this->annotationInject(get_class($controller), $action); + $this->annotationInject($controller, $action); return [$reflect->newInstance(), $action]; } catch (Throwable $exception) {