From b94c54bcc22cd81fd68df26276f9f7895926b96a Mon Sep 17 00:00:00 2001 From: yunwuxin <448901948@qq.com> Date: Tue, 21 Jun 2016 13:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=B1=BB=E5=90=8D=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Response.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/library/think/Response.php b/library/think/Response.php index 4568aa0f..2ba83741 100644 --- a/library/think/Response.php +++ b/library/think/Response.php @@ -11,11 +11,11 @@ namespace think; -use think\response\Json; -use think\response\Jsonp; -use think\response\Redirect; -use think\response\View; -use think\response\Xml; +use think\response\Json as JsonResponse; +use think\response\Jsonp as JsonpResponse; +use think\response\Redirect as RedirectResponse; +use think\response\View as ViewResponse; +use think\response\Xml as XmlResponse; class Response { @@ -66,7 +66,7 @@ class Response * @param int $code * @param array $header * @param array $options 输出参数 - * @return Response|Json|View|Xml|Redirect|Jsonp + * @return Response|JsonResponse|ViewResponse|XmlResponse|RedirectResponse|JsonpResponse */ public static function create($data = '', $type = '', $code = 200, array $header = [], $options = []) {