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\Controller;
use HttpServer\Http\Context; use HttpServer\Http\Context;
use HttpServer\Http\Request; use HttpServer\Http\Request;
use HttpServer\HttpFilter;
use JetBrains\PhpStorm\Pure; use JetBrains\PhpStorm\Pure;
use Snowflake\Core\Json; use Snowflake\Core\Json;
use Snowflake\Snowflake; use Snowflake\Snowflake;
@@ -358,7 +357,9 @@ class Node extends HttpService
if (empty($annotation)) { if (empty($annotation)) {
return $this; return $this;
} }
if ($action == 'xiaqi') {
var_export($annotation); var_export($annotation);
}
foreach ($annotation as $attribute) { foreach ($annotation as $attribute) {
if ($attribute instanceof Interceptor) { if ($attribute instanceof Interceptor) {
$this->addInterceptor($attribute->interceptor); $this->addInterceptor($attribute->interceptor);