改名
This commit is contained in:
@@ -43,7 +43,8 @@ use Snowflake\Snowflake;
|
||||
// TODO: Implement setHandler() method.
|
||||
$router = Snowflake::app()->getRouter();
|
||||
|
||||
$router->addRoute($this->uri, $handler, $this->method);
|
||||
$node = $router->addRoute($this->uri, $handler, $this->method);
|
||||
$node::annotationInject($node, get_class($handler[0]), $handler[1]);
|
||||
|
||||
return $router;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user