mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新] 增加获取标签下粉丝列表 #2
This commit is contained in:
parent
fed0e83057
commit
ace4ce3949
@ -87,6 +87,21 @@ class User extends BasicWeChat
|
|||||||
return $this->httpGetForJson($url);
|
return $this->httpGetForJson($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取标签下粉丝列表
|
||||||
|
* @param integer $tagid 标签ID
|
||||||
|
* @param string $next_openid 第一个拉取的OPENID
|
||||||
|
* @return array
|
||||||
|
* @throws Exceptions\InvalidResponseException
|
||||||
|
* @throws Exceptions\LocalCacheException
|
||||||
|
*/
|
||||||
|
public function getUserListByTag($tagid, $next_openid = '')
|
||||||
|
{
|
||||||
|
$url = 'https://api.weixin.qq.com/cgi-bin/user/tag/get?access_token=ACCESS_TOKEN';
|
||||||
|
$this->registerApi($url, __FUNCTION__, func_get_args());
|
||||||
|
return $this->httpPostForJson($url, ['tagid' => $tagid, 'next_openid' => $next_openid]);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取公众号的黑名单列表
|
* 获取公众号的黑名单列表
|
||||||
* @param string $begin_openid
|
* @param string $begin_openid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user