eee
This commit is contained in:
@@ -50,7 +50,7 @@ trait WxV3PaymentTait
|
|||||||
*/
|
*/
|
||||||
public function createClient(string $sign, string $json): Client
|
public function createClient(string $sign, string $json): Client
|
||||||
{
|
{
|
||||||
$client = new Client('api.mch.weixin.qq.com', 443, TRUE);
|
$client = new Client('api.mch.weixin.qq.com', 80, TRUE);
|
||||||
$client->withAddedHeader('Authorization', $sign)
|
$client->withAddedHeader('Authorization', $sign)
|
||||||
->withContentType('application/json')->withAddedHeader('User-Agent', 'application/json')
|
->withContentType('application/json')->withAddedHeader('User-Agent', 'application/json')
|
||||||
->withAddedHeader("Accept", "*/*");
|
->withAddedHeader("Accept", "*/*");
|
||||||
|
|||||||
Reference in New Issue
Block a user