diff --git a/common/HttpClient.php b/common/HttpClient.php index f54c3c4..230bf16 100644 --- a/common/HttpClient.php +++ b/common/HttpClient.php @@ -349,11 +349,10 @@ class HttpClient $body = $this->resolve($header, $body); - if ($client->getStatusCode() != 200) { - return new Result(['code' => $client->getStatusCode(), 'message' => $body, 'header' => $header]); - } - var_dump($ip, $url, $data, $body, $data, $header); + if ($client->getStatusCode() != 200) { + return new Result(['code' => $client->getStatusCode(), 'message' => $body]); + } return $this->structure($body, $data, $header); }