改名
This commit is contained in:
@@ -76,7 +76,6 @@ class Middleware
|
||||
if (empty($annotation)) {
|
||||
return;
|
||||
}
|
||||
var_dump($annotation, $action);
|
||||
foreach ($annotation as $name => $_attribute) {
|
||||
foreach ($_attribute as $attribute) {
|
||||
if ($attribute instanceof Interceptor) {
|
||||
|
||||
@@ -405,6 +405,7 @@ class Node extends HttpService
|
||||
$class = [$class];
|
||||
}
|
||||
foreach ($class as $closure) {
|
||||
var_dump($closure);
|
||||
if (in_array($closure, $this->middleware)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user