改名
This commit is contained in:
@@ -73,6 +73,7 @@ class Middleware
|
||||
[$controller, $action] = $node->handler;
|
||||
$attributes = Snowflake::app()->getAttributes();
|
||||
$annotation = $attributes->getByClass(get_class($controller), $action);
|
||||
var_dump($annotation);
|
||||
if (count($annotation) < 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -444,6 +444,7 @@ class Node extends HttpService
|
||||
*/
|
||||
public function restructure(): static
|
||||
{
|
||||
var_dump($this->handler);
|
||||
if (empty($this->handler)) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user