From 0e7518acecc9da170d8788eba4fcef152b3dd402 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 17 Jun 2016 16:20:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Jump=E7=9A=84result=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/traits/controller/Jump.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/traits/controller/Jump.php b/library/traits/controller/Jump.php index 40f3dacd..23c9bc0b 100644 --- a/library/traits/controller/Jump.php +++ b/library/traits/controller/Jump.php @@ -106,7 +106,7 @@ trait Jump 'data' => $data, ]; $type = $type ?: $this->getResponseType(); - return Response::create([], $type)->data($data); + return Response::create($result, $type); } /**