mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
改进App类
This commit is contained in:
@@ -103,7 +103,7 @@ class App
|
|||||||
throw new Exception('dispatch type not support', 10008);
|
throw new Exception('dispatch type not support', 10008);
|
||||||
}
|
}
|
||||||
// 输出数据到客户端
|
// 输出数据到客户端
|
||||||
if (isset($data) && !is_null($data)) {
|
if (isset($data)) {
|
||||||
// 监听app_end
|
// 监听app_end
|
||||||
APP_HOOK && Hook::listen('app_end', $data);
|
APP_HOOK && Hook::listen('app_end', $data);
|
||||||
// 自动响应输出
|
// 自动响应输出
|
||||||
|
|||||||
Reference in New Issue
Block a user