diff --git a/wchat/qq/Account.php b/wchat/qq/Account.php index 6f4ecc5..624af4d 100644 --- a/wchat/qq/Account.php +++ b/wchat/qq/Account.php @@ -31,7 +31,7 @@ class Account extends SmallProgram $this->request->setHost('api.q.qq.com'); $this->request->setMethod(HttpClient::GET); - $this->request->setIsSSL($this->getConfig()->isUsrSwoole()); + $this->request->setIsSSL(true); $this->request->setUseSwoole($this->config->isUsrSwoole()); return $this->request->get('sns/jscode2session', $param);