This commit is contained in:
2021-03-04 00:10:01 +08:00
parent ad70e14f83
commit b3bb429523
+1
View File
@@ -73,6 +73,7 @@ class Middleware
[$controller, $action] = $node->handler;
$attributes = Snowflake::app()->getAttributes();
$annotation = $attributes->getMethods(get_class($controller), $action);
var_dump($annotation);
if (empty($annotation)) {
return;
}