Documentation ¶
Index ¶
- func CancelBlack(api *api.Api, req *structs.BatchReq) error
- func GetBlack(api *api.Api, nextopenid string) (*structs.UserOpenIdList, error)
- func GetInfo(api *api.Api, openid string) (*oauth2.UserEx, error)
- func GetList(api *api.Api, nextopenid string) (*structs.UserOpenIdList, error)
- func GetUnionid(api *api.Api, openid string) (string, error)
- func SetBlack(api *api.Api, req *structs.BatchReq) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelBlack ¶
*
*取消拉黑用户 * POST https://api.weixin.qq.com/cgi-bin/tags/members/batchunblacklist?access_token=ACCESS_TOKEN
func GetBlack ¶
*获取公众号的黑名单列表 // //公众号可通过该接口来获取帐号的黑名单列表,黑名单列表由一串 OpenId(加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成。 // //该接口每次调用最多可拉取 10000 个OpenID,当列表数较多时,可以通过多次拉取的方式来满足需求。
POST https://api.weixin.qq.com/cgi-bin/tags/members/getblacklist?access_token=ACCESS_TOKEN
func GetInfo ¶
* GET https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN
func GetList ¶
* 获取用户列表 公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串OpenID(加密后的微信号,每个用户对每个公众号的OpenID是唯一的)组成。一次拉取调用最多拉取10000个关注者的OpenID,可以通过多次拉取的方式来满足需求。
GET https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.