From 7f2bdbdb4f90ad1f922856e18e30f956533386a1 Mon Sep 17 00:00:00 2001 From: xl Date: Tue, 7 Nov 2023 15:55:50 +0800 Subject: [PATCH] Default Changelist --- wchat/wx/V3/TransferBatches.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wchat/wx/V3/TransferBatches.php b/wchat/wx/V3/TransferBatches.php index 267dcd0..03da0ff 100644 --- a/wchat/wx/V3/TransferBatches.php +++ b/wchat/wx/V3/TransferBatches.php @@ -5,6 +5,7 @@ namespace wchat\wx\V3; use Exception; use JetBrains\PhpStorm\ArrayShape; use Kiri\Client; +use Kiri\CurlClient; use wchat\wx\SmallProgram; class TransferBatches extends SmallProgram @@ -31,7 +32,7 @@ class TransferBatches extends SmallProgram $sign = $this->signature('POST', '/v3/transfer/batches', $json = json_encode($body, JSON_UNESCAPED_UNICODE)); - $client = new Client('api.mch.weixin.qq.com', 443, TRUE); + $client = new CurlClient('api.mch.weixin.qq.com', 443, TRUE); $client->withAddedHeader('Authorization', $sign)->withContentType('application/json') ->withAgent('application/json')->withBody($json)->withAddedHeader("Accept", "*/*");