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()) {