From c74c3b004b70094d403ec640001809c5070ed5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Aug 2023 15:34:49 +0800 Subject: [PATCH] Default Changelist --- wchat/qq/Redhat.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wchat/qq/Redhat.php b/wchat/qq/Redhat.php index 4a58010..79db6a4 100644 --- a/wchat/qq/Redhat.php +++ b/wchat/qq/Redhat.php @@ -433,6 +433,8 @@ class Redhat extends SmallProgram { $client = new Client('api.qpay.qq.com', 443, true); $client->withHeader(['Content-Type' => 'application/json']); + $client->withSslKeyFile($this->config->getSslKey()); + $client->withSslCertFile($this->config->getSslCert()); $client->post($this->sendUrl, $this->generate()); $client->close(); if (!in_array($client->getStatusCode(), [101, 200, 201])) {