From a7bce22f0c95bd7952c23a944d8966f031685af8 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 17 Mar 2020 13:01:26 +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 e33d144..87e2363 100644 --- a/wchat/officialaccount/Tag.php +++ b/wchat/officialaccount/Tag.php @@ -88,7 +88,8 @@ class Tag extends AfficialAccount $this->request->setErrorField('errcode'); $this->request->setErrorMsgField('errmsg'); - return $this->request->post($this->user_batch_add_tag . $config, $url); + $this->request->setData(json_encode($url)); + return $this->request->post($this->user_batch_add_tag . $config); }