Default Changelist

This commit is contained in:
xl
2023-11-07 13:48:04 +08:00
parent 09544ee4a2
commit d9528679ff
4 changed files with 53 additions and 5 deletions
+1 -2
View File
@@ -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();