From 40ac73f40fa0255ee81bdc915f2d77aba0675dc4 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 7 Jan 2020 12:22:17 +0800 Subject: [PATCH] add clear --- qq/Account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qq/Account.php b/qq/Account.php index c7028c5..98d37f5 100644 --- a/qq/Account.php +++ b/qq/Account.php @@ -32,9 +32,9 @@ class Account extends SmallProgram $this->request->setHost('api.q.qq.com'); $this->request->setMethod(HttpClient::GET); $this->request->addHeader('Content-Type', 'text/xml'); + $this->request->setUseSwoole($this->config->isUsrSwoole()); var_dump($this->config, $this->request); - $this->request->setUseSwoole($this->config->isUsrSwoole()); return $this->request->get('sns/jscode2session', $param); }