eee
This commit is contained in:
@@ -32,7 +32,7 @@ class WxV3AppPayment extends SmallProgram
|
||||
$client->post('/v3/pay/transactions/components');
|
||||
$client->close();
|
||||
|
||||
$json = json_decode($client->getBody(), TRUE);
|
||||
$json = json_decode($client->body, TRUE);
|
||||
if (!isset($json['prepay_id'])) {
|
||||
throw new Exception('微信支付调用失败');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user