diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 7bc4c503..8137bb87 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -354,9 +354,6 @@ class Node extends HttpService public function annotationInject(string $className, string $action): Node { $annotation = annotation()->getMethods($className, $action); - if ($action == 'xiaqi') { - var_export($annotation); - } if (empty($annotation)) { return $this; } diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index b6548c86..30608581 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -492,8 +492,8 @@ class Router extends HttpService implements RouterInterface if (!($node instanceof Node)) { return send(self::NOT_FOUND); } + var_dump($node); send(($response = $node->dispatch()), 200); - var_dump($response); if (!$node->hasAfter()) { return null; }