From 0da515b3a7b9899a4a4bd20354e799d61429c57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 5 Mar 2021 17:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Route/Route.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index 62b88c24..8921af88 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -46,6 +46,10 @@ 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; }