diff --git a/qq/Account.php b/qq/Account.php index b75af78..e08363b 100644 --- a/qq/Account.php +++ b/qq/Account.php @@ -29,11 +29,11 @@ class Account extends SmallProgram return new Result(['code' => 404, 'message' => '临时登录凭证不能为空.']); } - $this->request->setHost('api.q.qq.com'); - $this->request->setMethod(HttpClient::GET); +// $this->request->setHost('api.q.qq.com'); +// $this->request->setMethod(HttpClient::GET); $this->request->setUseSwoole($this->config->isUsrSwoole()); - return $this->request->get('/sns/jscode2session', $param); + return $this->request->get('https://api.q.qq.com/sns/jscode2session', $param); } /**