From 809246f50e089e8007a4e78d6d2b8e533d6f3b56 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 17 Mar 2020 13:01:47 +0800 Subject: [PATCH] add clear --- wchat/officialaccount/Tag.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wchat/officialaccount/Tag.php b/wchat/officialaccount/Tag.php index 87e2363..2320185 100644 --- a/wchat/officialaccount/Tag.php +++ b/wchat/officialaccount/Tag.php @@ -32,7 +32,7 @@ class Tag extends AfficialAccount $this->request->setErrorField('errcode'); $this->request->setErrorMsgField('errmsg'); - $this->request->setData(json_encode($params)); + $this->request->setData(json_encode($params, JSON_UNESCAPED_UNICODE)); return $this->request->post($this->generate_url . $config); } @@ -88,7 +88,7 @@ class Tag extends AfficialAccount $this->request->setErrorField('errcode'); $this->request->setErrorMsgField('errmsg'); - $this->request->setData(json_encode($url)); + $this->request->setData(json_encode($url, JSON_UNESCAPED_UNICODE)); return $this->request->post($this->user_batch_add_tag . $config); }