From f9cad0f2221bec529c8908175e93d2891377d6d3 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 26 Mar 2018 10:31:05 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=AD=A3=E7=B2=89?= =?UTF-8?q?=E4=B8=9D=E6=A0=87=E7=AD=BE=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Tags.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WeChat/Tags.php b/WeChat/Tags.php index db26acf..99f3f3b 100644 --- a/WeChat/Tags.php +++ b/WeChat/Tags.php @@ -90,7 +90,7 @@ class Tags extends BasicWeChat { $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->httpPostForJson($url, ['openid_list' => $openids, $tagId]); + return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); } /** @@ -105,7 +105,7 @@ class Tags extends BasicWeChat { $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN'; $this->registerApi($url, __FUNCTION__, func_get_args()); - return $this->httpPostForJson($url, ['openid_list' => $openids, $tagId]); + return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); } /**