This commit is contained in:
2021-02-22 19:30:08 +08:00
parent fc10fd9d61
commit f2fea52cae
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
}