public interface WxMpUserTagService
boolean
batchTagging(Long tagId, String[] openids)
batchUntagging(Long tagId, String[] openids)
WxUserTag
tagCreate(String name)
Boolean
tagDelete(Long tagId)
List<WxUserTag>
tagGet()
WxTagListUser
tagListUser(Long tagId, String nextOpenid)
tagUpdate(Long tagId, String name)
List<Long>
userTagList(String openid)
WxUserTag tagCreate(String name) throws WxErrorException
创建标签 一个公众号,最多可以创建100个标签。 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/create?access_token=ACCESS_TOKEN
name
WxErrorException
List<WxUserTag> tagGet() throws WxErrorException
获取公众号已创建的标签 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/get?access_token=ACCESS_TOKEN
Boolean tagUpdate(Long tagId, String name) throws WxErrorException
编辑标签 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/update?access_token=ACCESS_TOKEN
Boolean tagDelete(Long tagId) throws WxErrorException
删除标签 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/delete?access_token=ACCESS_TOKEN
WxTagListUser tagListUser(Long tagId, String nextOpenid) throws WxErrorException
获取标签下粉丝列表 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/user/tag/get?access_token=ACCESS_TOKEN
boolean batchTagging(Long tagId, String[] openids) throws WxErrorException
批量为用户打标签 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/members/batchtagging?access_token=ACCESS_TOKEN
boolean batchUntagging(Long tagId, String[] openids) throws WxErrorException
批量为用户取消标签 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/members/batchuntagging?access_token=ACCESS_TOKEN
List<Long> userTagList(String openid) throws WxErrorException
获取用户身上的标签列表 详情请见:用户标签管理 接口url格式: https://api.weixin.qq.com/cgi-bin/tags/getidlist?access_token=ACCESS_TOKEN
Copyright © 2019. All rights reserved.