From ebf2431a50ac6ffe8297d3d0be45412e6dfd23d4 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 13 Dec 2016 11:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BApp=E7=B1=BB=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=99=A8=E6=B2=A1=E6=9C=89=E8=BF=94=E5=9B=9E=E5=80=BC?= =?UTF-8?q?=E8=BF=94=E5=9B=9E204=E7=8A=B6=E6=80=81=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/App.php b/library/think/App.php index 01af92ce..204db94d 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -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