From b2e46c64c60c380a03e3dc3122ea21d0b83a9d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 3 Apr 2020 18:32:24 +0800 Subject: [PATCH] add clear --- wchat/qq/SecCheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wchat/qq/SecCheck.php b/wchat/qq/SecCheck.php index e1ba32f..861c0df 100644 --- a/wchat/qq/SecCheck.php +++ b/wchat/qq/SecCheck.php @@ -50,10 +50,10 @@ class SecCheck extends SmallProgram $this->request->setErrorField('errCode'); $this->request->setErrorMsgField('errMsg'); $this->request->setData(null); - $this->request->setHost('api.q.qq.com'); +// $this->request->setHost('api.q.qq.com'); $this->request->setIsSSL(true); - $url = $this->_msgUrl . $this->config->getAccessToken(); + $url = 'https://api.q.qq.com/'.$this->_msgUrl . $this->config->getAccessToken(); return $this->request->post($url, json_encode([ 'appid' => $this->config->getAppid(), 'content' => $content