This commit is contained in:
2021-08-02 18:43:12 +08:00
parent 5b473b2d5a
commit ce1952d796
4 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -163,8 +163,7 @@ class Node extends HttpService
private function createDispatch(): Closure
{
/** @var Aop $aop */
$aop = Snowflake::app()->get('aop');
var_dump($this->path . '->' . (int)$aop->hasAop($this->handler));
$aop = Snowflake::app()->get(Aop::class);
if ($this->handler instanceof Closure || !$aop->hasAop($this->handler)) {
return $this->normalHandler($this->handler);
} else {