This commit is contained in:
2021-06-08 11:38:18 +08:00
parent aed5e9469d
commit 07c2b3f6cf
+2 -1
View File
@@ -16,7 +16,6 @@ use HttpServer\Abstracts\HttpService;
use HttpServer\Controller;
use HttpServer\Http\Context;
use HttpServer\Http\Request;
use HttpServer\HttpFilter;
use JetBrains\PhpStorm\Pure;
use Snowflake\Core\Json;
use Snowflake\Snowflake;
@@ -358,7 +357,9 @@ class Node extends HttpService
if (empty($annotation)) {
return $this;
}
if ($action == 'xiaqi') {
var_export($annotation);
}
foreach ($annotation as $attribute) {
if ($attribute instanceof Interceptor) {
$this->addInterceptor($attribute->interceptor);