eee
This commit is contained in:
@@ -77,6 +77,7 @@ trait WxV3PaymentTait
|
|||||||
$parseUrl = '/v3/pay/transactions/out-trade-no/' . $orderNo;
|
$parseUrl = '/v3/pay/transactions/out-trade-no/' . $orderNo;
|
||||||
$sign = $this->signature('POST', $parseUrl . '?mchid=' . $config->pay->wx->mchId);
|
$sign = $this->signature('POST', $parseUrl . '?mchid=' . $config->pay->wx->mchId);
|
||||||
$client = $this->createClient($sign, '');
|
$client = $this->createClient($sign, '');
|
||||||
|
$client->withAddedHeader('Accept', 'application/json');
|
||||||
$client->get($parseUrl, ['mchid' => $config->pay->wx->mchId]);
|
$client->get($parseUrl, ['mchid' => $config->pay->wx->mchId]);
|
||||||
$client->close();
|
$client->close();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user