create()
create(mixed $data = '', string $type = '', integer $code = 200, array $header = [], array $options = []) : \think\response
static 创建Response对象
Parameters
mixed |
$data |
|
string |
$type |
|
integer |
$code |
|
array |
$header |
|
array |
$options |
|
Returns
\think\response