mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进App类控制器没有返回值返回204状态码
This commit is contained in:
@@ -175,7 +175,7 @@ class App
|
||||
$type = $isAjax ? Config::get('default_ajax_return') : Config::get('default_return_type');
|
||||
$response = Response::create($data, $type);
|
||||
} else {
|
||||
$response = Response::create();
|
||||
$response = Response::create('', 204);
|
||||
}
|
||||
|
||||
// 监听app_end
|
||||
|
||||
Reference in New Issue
Block a user