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); } /**