Default Changelist
This commit is contained in:
@@ -4,7 +4,6 @@ namespace wchat\wx\V3;
|
||||
|
||||
use Exception;
|
||||
use Kiri\Client;
|
||||
use Kiri\Message\Stream;
|
||||
use JetBrains\PhpStorm\ArrayShape;
|
||||
use wchat\wx\SmallProgram;
|
||||
|
||||
@@ -32,7 +31,7 @@ class WxV3NativePayment extends SmallProgram
|
||||
|
||||
$client = new Client('api.mch.weixin.qq.com', 443, TRUE);
|
||||
$client->withAddedHeader('Authorization', $sign)->withContentType('application/json')
|
||||
->withAgent('application/json')->withBody(new Stream($json))
|
||||
->withAgent('application/json')->withBody($json)
|
||||
->post('/v3/pay/transactions/native');
|
||||
$client->close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user