修正Jump的result方法

This commit is contained in:
thinkphp
2016-06-17 16:20:45 +08:00
parent 9d56033b6d
commit 0e7518acec

View File

@@ -106,7 +106,7 @@ trait Jump
'data' => $data, 'data' => $data,
]; ];
$type = $type ?: $this->getResponseType(); $type = $type ?: $this->getResponseType();
return Response::create([], $type)->data($data); return Response::create($result, $type);
} }
/** /**