This commit is contained in:
2021-02-23 11:37:19 +08:00
parent 6e12a6e012
commit 49cbdbde8d
+1
View File
@@ -40,6 +40,7 @@ use Annotation\IAnnotation;
// TODO: Implement setHandler() method.
$router = Snowflake::app()->getRouter();
var_dump($this->uri, $handler, $this->method);
$router->addRoute($this->uri, $handler, $this->method);
return $router;