diff --git a/wchat/officialaccount/Tag.php b/wchat/officialaccount/Tag.php index 1d58044..e33d144 100644 --- a/wchat/officialaccount/Tag.php +++ b/wchat/officialaccount/Tag.php @@ -32,7 +32,8 @@ class Tag extends AfficialAccount $this->request->setErrorField('errcode'); $this->request->setErrorMsgField('errmsg'); - return $this->request->post($this->generate_url . $config, $params); + $this->request->setData(json_encode($params)); + return $this->request->post($this->generate_url . $config); } /**