diff --git a/common/HttpClient.php b/common/HttpClient.php index 15043fc..2064396 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -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;