This commit is contained in:
as2252258@163.com
2021-04-23 03:12:00 +08:00
parent 8b57f44f7e
commit 325ab04f20
26 changed files with 775 additions and 1493 deletions
-3
View File
@@ -56,9 +56,6 @@ class Client extends ClientAbstracts
if (in_array($client->getStatusCode(), [200, 201])) {
return $this->structure($body, $data, $client->getHeaders());
}
// if ($client->getStatusCode() == 302) {
// return $this->get($client->getHeaders()['location']);
// }
if (is_string($body)) {
$message = 'Request error code ' . $client->getStatusCode();
} else {