This commit is contained in:
2021-03-05 18:47:51 +08:00
parent 9f2926d1df
commit c92a69fcc3
+1 -1
View File
@@ -281,7 +281,7 @@ class Node extends HttpService
throw new Exception('method ' . $action . ' not exists at ' . $controller . '.'); throw new Exception('method ' . $action . ' not exists at ' . $controller . '.');
} }
$this->annotationInject($controller, $action); $this->annotationInject($reflect->getName(), $action);
return [$reflect->newInstance(), $action]; return [$reflect->newInstance(), $action];
} catch (Throwable $exception) { } catch (Throwable $exception) {