From 8202c1861f450e2ad721449645a6b6b61a6d845b Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 11 Dec 2021 06:27:18 +0800 Subject: [PATCH] 1 --- src/Curl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Curl.php b/src/Curl.php index 216e3fd..5cbffac 100644 --- a/src/Curl.php +++ b/src/Curl.php @@ -74,8 +74,8 @@ class Curl extends ClientAbstracts */ private function curlHandlerSslSet(): void { - curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, 1); - curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, 'api.mch.weixin.qq.com'); +// curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, 1); +// curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, 'api.mch.weixin.qq.com'); if (!empty($this->getSslKeyFile()) && file_exists($this->getSslKeyFile())) { curl_setopt($this->client, CURLOPT_SSLKEY, $this->getSslKeyFile()); }