From df3b726f7fc95ca74b9d8168d549f17908f7a6a5 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Wed, 23 Dec 2015 13:06:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BResponse::success=E5=8F=8ARes?= =?UTF-8?q?ponse::error=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/response.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/library/think/response.php b/library/think/response.php index cba81750..b6343ea6 100644 --- a/library/think/response.php +++ b/library/think/response.php @@ -171,8 +171,7 @@ class Response if ($type) { self::$type = $type; } - self::$isExit = true; - self::send(); + self::isExit(true); } /** @@ -202,8 +201,7 @@ class Response if ($type) { self::$type = $type; } - self::$isExit = true; - self::send(); + self::isExit(true); } /**