21 lines
729 B
Go
21 lines
729 B
Go
package structs
|
||
|
||
/*
|
||
WechatPublicPlatformFansResp
|
||
|
||
一次拉取调用最多拉取10000个关注者的OpenID,可以通过多次拉取的方式来满足需求。
|
||
最后一次返回时next_openid可能为空表示列表结束。
|
||
|
||
接口信息:https://developers.weixin.qq.com/doc/subscription/api/usermanage/userinfo/api_getfans.html
|
||
*/
|
||
|
||
type WechatPublicPlatformFansResp struct {
|
||
WechatCommonResp
|
||
Total int `json:"total"` //关注该公众账号的总用户数
|
||
Count int `json:"count"` //拉取的OPENID个数,最大值为10000
|
||
Data struct { //列表数据,OPENID的列表
|
||
Openid []string `json:"openid"` //用户唯一ID
|
||
}
|
||
NextOpenid string `json:"next_openid"` //拉取列表后一个用户的OPENID
|
||
}
|