From 8a848044166cbd4b0f323c73077ee21d1d2e565d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 18:44:51 +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 39e17697..9b0f6afe 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -163,7 +163,7 @@ class Node extends HttpService private function createDispatch(): Closure { /** @var Aop $aop */ - $aop = Snowflake::app()->get(Aop::class); + $aop = Snowflake::getDi()->get(Aop::class); if ($this->handler instanceof Closure || !$aop->hasAop($this->handler)) { return $this->normalHandler($this->handler); } else {