From f7128047f4160d4451a73fe36c830d1ef36ed9d6 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 16 Mar 2020 19:40:10 +0800 Subject: [PATCH] add clear --- wchat/officialaccount/Tag.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } /**