改名
This commit is contained in:
@@ -82,6 +82,7 @@ class Middleware
|
||||
[$controller, $action] = $node->handler;
|
||||
$attributes = Snowflake::app()->getAttributes();
|
||||
$annotation = $attributes->getByClass(get_class($controller), $action);
|
||||
var_dump($annotation);
|
||||
foreach ($annotation as $item) {
|
||||
if ($item instanceof Interceptor) {
|
||||
$node->addInterceptor($item->interceptor);
|
||||
|
||||
Reference in New Issue
Block a user