Default Changelist

This commit is contained in:
2023-08-18 19:59:46 +08:00
parent 0578ba384b
commit a7c6939a9f
17 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ class Cash_Bonus extends SmallProgram
$client->post($this->_cash, $this->orderConfig($mch_billno, $openId, $price));
$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);