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 wchat\wx\SmallProgram;
class WxV3Payment extends SmallProgram
@@ -34,7 +33,7 @@ class WxV3Payment extends SmallProgram
$client->withAddedHeader('Authorization', $sign)
->withContentType('application/json')
->withAddedHeader('User-Agent', 'application/json')
->withBody(new Stream($json))
->withBody($json)
->post('/v3/pay/transactions/jsapi');
$client->close();