From bba75449425f417bda65c4cd1f69223eb020c811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 24 Aug 2020 11:52:36 +0800 Subject: [PATCH] add clear --- wchat/qq/SecCheck.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wchat/qq/SecCheck.php b/wchat/qq/SecCheck.php index b16ce67..e08fca0 100644 --- a/wchat/qq/SecCheck.php +++ b/wchat/qq/SecCheck.php @@ -30,6 +30,7 @@ class SecCheck extends SmallProgram $this->request->setHeader('Content-Type', 'multipart/form-data'); $this->request->setErrorField('errCode'); $this->request->setErrorMsgField('errMsg'); + $this->request->setAgent(''); $real_path = new \CURLFile($path); return $this->request->upload($this->_url . $this->config->getAccessToken(), [