This commit is contained in:
2021-07-12 18:56:16 +08:00
parent 69e41f4597
commit 522fb3201a
+2 -1
View File
@@ -141,12 +141,13 @@ class Node extends HttpService
/**
* @throws ReflectionException
* @throws NotFindClassException
* @throws Exception
*/
private function setAop()
{
/** @var Aop $aop */
$aop = Snowflake::app()->get('aop');
if (!$aop->hasAop($this->handler)) {
if (!is_array($this->handler) || !$aop->hasAop($this->handler)) {
return;
}
$reflect = $aop->getAop($this->handler);