From 0578ba384b1028f0b393717a2d96d45233f14c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Aug 2023 19:58:45 +0800 Subject: [PATCH] Default Changelist --- wchat/qq/Redhat.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {