This commit is contained in:
2026-06-12 23:57:22 +08:00
parent 0a535c3a89
commit 63e24922ad
15 changed files with 39 additions and 39 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ class WxVirtualPayment extends SmallProgram
$client = new Client('api.weixin.qq.com', 443, true);
$client->post('/xpay/query_order?access_token=' . $this->payConfig->getAccessToken() . '&pay_sig=' . $this->paySign('/xpay/query_order', $data), $data);
$resp = $client->getBody();
$resp = $client->body;
$client->close();
@@ -94,7 +94,7 @@ class WxVirtualPayment extends SmallProgram
$client = new Client('api.weixin.qq.com', 443, true);
$client->post('/xpay/notify_provide_goods?access_token=' . $this->payConfig->getAccessToken() . '&pay_sig=' . $this->paySign('/xpay/notify_provide_goods', $data), $data);
$resp = $client->getBody();
$resp = $client->body;
$client->close();
return json_decode($resp, true);