Default Changelist

This commit is contained in:
xl
2023-11-07 16:01:11 +08:00
parent a2dc66ec84
commit 9264f05a49
+1 -1
View File
@@ -32,7 +32,7 @@ class TransferBatches extends SmallProgram
$sign = $this->signature('POST', '/v3/transfer/batches', $json = json_encode($body, JSON_UNESCAPED_UNICODE)); $sign = $this->signature('POST', '/v3/transfer/batches', $json = json_encode($body, JSON_UNESCAPED_UNICODE));
$client = new CurlClient('api.mch.weixin.qq.com', 443, TRUE); $client = new Client('api.mch.weixin.qq.com', 443, TRUE);
$client->withAddedHeader('Authorization', $sign)->withContentType('application/json') $client->withAddedHeader('Authorization', $sign)->withContentType('application/json')
->withAgent('application/json')->withBody($json)->withAddedHeader("Accept", "*/*"); ->withAgent('application/json')->withBody($json)->withAddedHeader("Accept", "*/*");