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); }