diff --git a/library/think/app.php b/library/think/app.php index 6e8e5b8c..ee13a340 100644 --- a/library/think/app.php +++ b/library/think/app.php @@ -127,6 +127,8 @@ class App if (method_exists($instance, '_empty')) { $method = new \ReflectionMethod($instance, '_empty'); $data = $method->invokeArgs($instance, [$action, '']); + // 操作方法执行完成监听 + APP_HOOK && Hook::listen('action_end', $data); // 返回数据 if (defined('IN_UNIT_TEST')) { return $data;