This commit is contained in:
2021-08-02 18:44:51 +08:00
parent ce1952d796
commit 8a84804416
+1 -1
View File
@@ -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 {