改名
This commit is contained in:
@@ -73,6 +73,7 @@ class Middleware
|
|||||||
[$controller, $action] = $node->handler;
|
[$controller, $action] = $node->handler;
|
||||||
$attributes = Snowflake::app()->getAttributes();
|
$attributes = Snowflake::app()->getAttributes();
|
||||||
$annotation = $attributes->getMethods(get_class($controller), $action);
|
$annotation = $attributes->getMethods(get_class($controller), $action);
|
||||||
|
var_dump($annotation);
|
||||||
if (empty($annotation)) {
|
if (empty($annotation)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user