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