From 5b473b2d5ada1d63e908be7b29e7fd9fea3a96c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 18:37:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Route/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index ee06d829..0131047a 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -164,7 +164,7 @@ class Node extends HttpService { /** @var Aop $aop */ $aop = Snowflake::app()->get('aop'); - var_dump($this->path . '->' . $aop->hasAop($this->handler)); + var_dump($this->path . '->' . (int)$aop->hasAop($this->handler)); if ($this->handler instanceof Closure || !$aop->hasAop($this->handler)) { return $this->normalHandler($this->handler); } else {