From e572352208e76ccf5768aec131ed3028c64d0efe Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 16 Mar 2020 18:55:29 +0800 Subject: [PATCH] add clear --- wchat/officialaccount/Tag.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wchat/officialaccount/Tag.php b/wchat/officialaccount/Tag.php index a373d7c..fa88db7 100644 --- a/wchat/officialaccount/Tag.php +++ b/wchat/officialaccount/Tag.php @@ -27,8 +27,7 @@ class Tag extends AfficialAccount $config = $this->config->getAccessToken(); - $this->request->setData(json_encode($params)); - $result = $this->request->post($this->generate_url . $config); + $result = $this->request->post($this->generate_url . $config, $params); $this->request->setErrorField('errcode'); $this->request->setErrorMsgField('errmsg'); if (!$result->isResultsOK()) {