diff --git a/wchat/qq/Account.php b/wchat/qq/Account.php index 624af4d..6f4ecc5 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(true); + $this->request->setIsSSL($this->getConfig()->isUsrSwoole()); $this->request->setUseSwoole($this->config->isUsrSwoole()); return $this->request->get('sns/jscode2session', $param);