mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新]修正粉丝标签接口参数名称
This commit is contained in:
parent
254d9a39c1
commit
f9cad0f222
@ -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, $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';
|
$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, $tagId]);
|
return $this->httpPostForJson($url, ['openid_list' => $openids, 'tag_id' => $tagId]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user