From f5f6dde8fb924a6257d531a3faed62b8333db0bb Mon Sep 17 00:00:00 2001 From: huangdijia Date: Wed, 23 Dec 2015 13:17:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8DResponse::success()=E3=80=81R?= =?UTF-8?q?esponse::error()=E4=B8=AD=E8=B0=83=E7=94=A8self::send()?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=8C=E4=BF=9D=E8=AF=81=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E9=80=80=E5=87=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/response.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/think/response.php b/library/think/response.php index b6343ea6..cba81750 100644 --- a/library/think/response.php +++ b/library/think/response.php @@ -171,7 +171,8 @@ class Response if ($type) { self::$type = $type; } - self::isExit(true); + self::$isExit = true; + self::send(); } /** @@ -201,7 +202,8 @@ class Response if ($type) { self::$type = $type; } - self::isExit(true); + self::$isExit = true; + self::send(); } /**