add clear
This commit is contained in:
@@ -574,10 +574,6 @@ class HttpClient
|
||||
|
||||
return $result;
|
||||
}
|
||||
if (!is_array($body)) {
|
||||
return $body;
|
||||
}
|
||||
|
||||
$result['code'] = $body[$this->errorCodeField] ?? 0;
|
||||
$result['message'] = $body[$this->errorMsgField] ?? 'system success.';
|
||||
$result['data'] = $body;
|
||||
|
||||
Reference in New Issue
Block a user