改名
This commit is contained in:
@@ -111,7 +111,6 @@ class Node extends HttpService
|
||||
protected function annotation(): array
|
||||
{
|
||||
$middleWares = $this->getMiddleWares();
|
||||
var_dump($middleWares);
|
||||
$middleWares = $this->annotation_limit($this, $middleWares);
|
||||
$middleWares = $this->annotation_interceptor($this, $middleWares);
|
||||
return $middleWares;
|
||||
@@ -326,6 +325,9 @@ class Node extends HttpService
|
||||
if (empty($annotation)) {
|
||||
return $this;
|
||||
}
|
||||
if ($this->path == 'user/attributes') {
|
||||
var_dump($annotation);
|
||||
}
|
||||
foreach ($annotation as $name => $attribute) {
|
||||
if ($attribute instanceof \Annotation\Route\Interceptor) {
|
||||
$this->addInterceptor($attribute->interceptor);
|
||||
|
||||
Reference in New Issue
Block a user