改名
This commit is contained in:
@@ -354,12 +354,12 @@ class Node extends HttpService
|
||||
public function annotationInject(string $className, string $action): Node
|
||||
{
|
||||
$annotation = annotation()->getMethods($className, $action);
|
||||
if (empty($annotation)) {
|
||||
return $this;
|
||||
}
|
||||
if ($action == 'xiaqi') {
|
||||
var_export($annotation);
|
||||
}
|
||||
if (empty($annotation)) {
|
||||
return $this;
|
||||
}
|
||||
foreach ($annotation as $attribute) {
|
||||
if ($attribute instanceof Interceptor) {
|
||||
$this->addInterceptor($attribute->interceptor);
|
||||
|
||||
Reference in New Issue
Block a user