This commit is contained in:
2021-04-19 14:33:14 +08:00
parent 18f541759f
commit db2db63ee7
+4
View File
@@ -54,6 +54,10 @@ class Aop extends Component
return call_user_func($close, ...$get_args);
}
if (empty($close)) {
return response()->close(404);
}
$aopName = get_class($close[0]) . '::' . $close[1];
if (!isset($this->_aop[$aopName])) {
return call_user_func($close, ...$get_args);