This commit is contained in:
2020-12-16 15:32:21 +08:00
parent 62557eba64
commit 9cc637f039
2 changed files with 8 additions and 5 deletions
-1
View File
@@ -82,7 +82,6 @@ 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);