[更新]修改粉丝标签管理接口参数

This commit is contained in:
Anyon 2018-03-26 14:32:30 +08:00
parent f9cad0f222
commit 9ba300d0b1

View File

@ -90,7 +90,7 @@ class Tags extends BasicWeChat
{ {
$url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN'; $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $this->registerApi($url, __FUNCTION__, func_get_args());
return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); return $this->httpPostForJson($url, ['openid_list' => $openids, 'tagid' => $tagId]);
} }
/** /**
@ -105,7 +105,7 @@ class Tags extends BasicWeChat
{ {
$url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN'; $url = 'https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN';
$this->registerApi($url, __FUNCTION__, func_get_args()); $this->registerApi($url, __FUNCTION__, func_get_args());
return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]); return $this->httpPostForJson($url, ['openid_list' => $openids, 'tagid' => $tagId]);
} }
/** /**