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 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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user