mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -11,11 +11,11 @@
|
|||||||
|
|
||||||
namespace think;
|
namespace think;
|
||||||
|
|
||||||
use think\response\Json;
|
use think\response\Json as JsonResponse;
|
||||||
use think\response\Jsonp;
|
use think\response\Jsonp as JsonpResponse;
|
||||||
use think\response\Redirect;
|
use think\response\Redirect as RedirectResponse;
|
||||||
use think\response\View;
|
use think\response\View as ViewResponse;
|
||||||
use think\response\Xml;
|
use think\response\Xml as XmlResponse;
|
||||||
|
|
||||||
class Response
|
class Response
|
||||||
{
|
{
|
||||||
@@ -66,7 +66,7 @@ class Response
|
|||||||
* @param int $code
|
* @param int $code
|
||||||
* @param array $header
|
* @param array $header
|
||||||
* @param array $options 输出参数
|
* @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 = [])
|
public static function create($data = '', $type = '', $code = 200, array $header = [], $options = [])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user