mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
简化slog类
This commit is contained in:
@@ -107,10 +107,7 @@ class App
|
||||
// 操作方法执行完成监听
|
||||
Hook::listen('action_end', $data);
|
||||
// 返回数据
|
||||
Response::returnData($data, $config['default_return_type']);
|
||||
if ($config['response_exit']) {
|
||||
exit;
|
||||
}
|
||||
Response::returnData($data, $config['default_return_type'], $config['response_exit']);
|
||||
} else {
|
||||
// 操作方法不是Public 抛出异常
|
||||
throw new \ReflectionException();
|
||||
|
||||
Reference in New Issue
Block a user