diff --git a/wchat/qq/SecCheck.php b/wchat/qq/SecCheck.php index 861c0df..e1ba32f 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 = 'https://api.q.qq.com/'.$this->_msgUrl . $this->config->getAccessToken(); + $url = $this->_msgUrl . $this->config->getAccessToken(); return $this->request->post($url, json_encode([ 'appid' => $this->config->getAppid(), 'content' => $content