From 4c08a2dcce7f428dd19ff5a16f906429ec9ae516 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 7 Jan 2020 14:08:42 +0800 Subject: [PATCH] add clear --- qq/Account.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } /**