Accept Merge Request #32: (feature/dgg -> develop)
Merge Request: feat: 移除多余代码 Created By: @大狗哥 Accepted By: @大狗哥 URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/32?initial=true
This commit is contained in:
commit
10e0a37ad6
|
|
@ -175,8 +175,8 @@ class WorkerApi extends BaseService
|
||||||
'time' => Request::instance()->server('REQUEST_TIME'),
|
'time' => Request::instance()->server('REQUEST_TIME'),
|
||||||
'data' => $data,
|
'data' => $data,
|
||||||
];
|
];
|
||||||
// 如果未设置类型则自动判断
|
// 如果未设置类型则使用默认类型判断
|
||||||
$type = $type ? $type : ($this->request->param(config('var_jsonp_handler')) ? 'jsonp' : $this->responseType);
|
$type = $type ? : $this->responseType;
|
||||||
|
|
||||||
if (isset($header['statuscode'])) {
|
if (isset($header['statuscode'])) {
|
||||||
$code = $header['statuscode'];
|
$code = $header['statuscode'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user