eee
This commit is contained in:
@@ -75,8 +75,8 @@ trait WxV3PaymentTait
|
|||||||
{
|
{
|
||||||
$config = $this->getPayConfig();
|
$config = $this->getPayConfig();
|
||||||
$parseUrl = '/v3/pay/transactions/out-trade-no/' . $orderNo;
|
$parseUrl = '/v3/pay/transactions/out-trade-no/' . $orderNo;
|
||||||
$sign = $this->signature('POST', $parseUrl, $json = json_encode(['mchid' => $config->pay->wx->mchId]));
|
$sign = $this->signature('POST', $parseUrl . '?mchid=' . $config->pay->wx->mchId, null);
|
||||||
$client = $this->createClient($sign, $json);
|
$client = $this->createClient($sign, null);
|
||||||
$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