This commit is contained in:
2021-03-04 00:43:51 +08:00
parent cf1700dabb
commit 024307f8f0
+1 -1
View File
@@ -43,7 +43,7 @@ use Snowflake\Snowflake;
// TODO: Implement setHandler() method. // TODO: Implement setHandler() method.
$router = Snowflake::app()->getRouter(); $router = Snowflake::app()->getRouter();
$router->addRoute($this->uri . $this->version, $handler, $this->method); $router->addRoute($this->uri, $handler, $this->method);
return $router; return $router;
} }