diff --git a/wchat/qq/Redhat.php b/wchat/qq/Redhat.php index f1c7f83..658c1a8 100644 --- a/wchat/qq/Redhat.php +++ b/wchat/qq/Redhat.php @@ -306,7 +306,7 @@ class Redhat extends SmallProgram $client->post($this->sendUrl, http_build_query($this->generate())); $client->close(); if (!in_array($client->getStatusCode(), [101, 200, 201])) { - return new Result(code: 505, message: 'network error.'); + return new Result(code: 505, message: $client->getBody()); } $json = json_decode($client->getBody(), true); if (isset($json['return_code']) && $json['return_code'] != 'SUCCESS') {