This commit is contained in:
2021-04-19 14:38:17 +08:00
parent d5c8ad8f9b
commit 0b5ae62803
2 changed files with 64 additions and 63 deletions
+3
View File
@@ -56,6 +56,9 @@ class Aop extends Component
$aopName = get_class($close[0]) . '::' . $close[1];
if (!isset($this->_aop[$aopName])) {
if (!method_exists($close[0], $close[1])) {
return response()->close(404);
}
return call_user_func($close, ...$get_args);
}