diff --git a/app/api/controller/Chatbot.php b/app/api/controller/Chatbot.php index 80ddfa1..fdb58a7 100644 --- a/app/api/controller/Chatbot.php +++ b/app/api/controller/Chatbot.php @@ -183,6 +183,10 @@ class Chatbot extends QfShop $ch = curl_init(); curl_setopt_array($ch, $options); + + // 禁用 CA 证书验证 + curl_setopt($ch, CURLOPT_CAINFO, null); + $response = curl_exec($ch); if (curl_errno($ch)) { diff --git a/app/api/controller/Wechat.php b/app/api/controller/Wechat.php index 343ad22..b24fc46 100644 --- a/app/api/controller/Wechat.php +++ b/app/api/controller/Wechat.php @@ -22,10 +22,10 @@ class Wechat extends QfShop 消息加解密方式:推荐即可 */ private $config = [ - 'app_id' => 'wx7d0373771cf5e395',//公众号appid - 'secret' => '3e9fefc1ccc573afb4141bf2e4e6ac3b',//公众号secret - 'token' => 'aDA3Ve61uNpn5xXKgPm49wtqL2ZlvDac', //Token 自行生成32字符串 英文或数字 - 'aes_key' => 'r0HkOAEGKkaYdJLvaCy9ldtgzhMzDUJYPoLxUc62OMA' //微信公众平台生成后填写到这里 + 'app_id' => '',//公众号appid + 'secret' => '',//公众号secret + 'token' => '', //Token 自行生成32字符串 英文或数字 + 'aes_key' => '' //微信公众平台生成后填写到这里 ]; public function serve() diff --git a/app/index/view/common/head.html b/app/index/view/common/head.html index 8ac53f0..c2793d2 100644 --- a/app/index/view/common/head.html +++ b/app/index/view/common/head.html @@ -3,7 +3,7 @@
+
{if condition="$detail.is_type==1"}
阿里云盘
{elseif condition="$detail.is_type==2"/}
@@ -98,7 +98,7 @@
{volist name="hotList" id="vo"}
diff --git a/app/index/view/news/list.html b/app/index/view/news/list.html
index f0a7cf9..9b1f594 100644
--- a/app/index/view/news/list.html
+++ b/app/index/view/news/list.html
@@ -53,7 +53,7 @@
+
立即访问
+
立即访问