This commit is contained in:
2021-03-30 11:43:29 +08:00
parent 693b7312ce
commit 4171727784
2 changed files with 0 additions and 5 deletions
-2
View File
@@ -39,8 +39,6 @@ use Snowflake\Snowflake;
// TODO: Implement setHandler() method.
$router = Snowflake::app()->getRouter();
var_dump($this->uri);
$router->addRoute($this->uri, $handler, $this->method);
return $router;
-3
View File
@@ -513,9 +513,6 @@ class Server extends HttpService
$event = Snowflake::app()->getEvent();
$event->on(Event::SERVER_WORKER_START, function () {
try {
var_dump(2222);
router()->loadRouterSetting();
$annotation = Snowflake::app()->getAttributes();