diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index 8921af88..11aca04a 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -45,11 +45,6 @@ use Snowflake\Snowflake; $node = $router->addRoute($this->uri, $handler, $this->method); $node::annotationInject($node, get_class($handler[0]), $handler[1]); - - if ($this->uri == 'switch/map') { - var_dump($node); - } - return $router; } diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 80605b93..9f5eda62 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -321,6 +321,7 @@ class Node extends HttpService if (empty($annotation)) { return $node; } + var_dump($className, $action, $annotation); foreach ($annotation as $name => $attribute) { if ($attribute instanceof \Annotation\Route\Interceptor) { $node->addInterceptor($attribute->interceptor);