改名
This commit is contained in:
@@ -163,7 +163,7 @@ class Node extends HttpService
|
|||||||
private function createDispatch(): Closure
|
private function createDispatch(): Closure
|
||||||
{
|
{
|
||||||
/** @var Aop $aop */
|
/** @var Aop $aop */
|
||||||
$aop = Snowflake::app()->get(Aop::class);
|
$aop = Snowflake::getDi()->get(Aop::class);
|
||||||
if ($this->handler instanceof Closure || !$aop->hasAop($this->handler)) {
|
if ($this->handler instanceof Closure || !$aop->hasAop($this->handler)) {
|
||||||
return $this->normalHandler($this->handler);
|
return $this->normalHandler($this->handler);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user