This commit is contained in:
2021-03-05 17:13:23 +08:00
parent bfebcce204
commit 0da515b3a7
+4
View File
@@ -46,6 +46,10 @@ use Snowflake\Snowflake;
$node = $router->addRoute($this->uri, $handler, $this->method); $node = $router->addRoute($this->uri, $handler, $this->method);
$node::annotationInject($node, get_class($handler[0]), $handler[1]); $node::annotationInject($node, get_class($handler[0]), $handler[1]);
if ($this->uri == 'switch/map') {
var_dump($node);
}
return $router; return $router;
} }