|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.api.BaseAPI
com.github.sd4324530.fastweixin.api.UserAPI
public class UserAPI
用户管理相关API
| 字段摘要 |
|---|
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的字段 |
|---|
BASE_API_URL, config |
| 构造方法摘要 | |
|---|---|
UserAPI(ApiConfig config)
|
|
| 方法摘要 | |
|---|---|
ResultType |
batchDeleteTagsToUser(List<String> openidList,
Integer tagId)
批量为用户取消标签 |
ResultType |
batchTagsToUser(List<String> openidList,
Integer tagId)
批量为用户打上标签 标签功能目前支持公众号为用户打上最多三个标签。 |
CreateGroupResponse |
createGroup(String name)
创建分组 |
ResultType |
deleteGroup(Integer groupId)
删除分组 |
String |
getGroupIdByOpenid(String openid)
通过关注者ID获取所在分组信息 |
GetGroupsResponse |
getGroups()
获取所有分组信息 |
GetUserInfoResponse |
getUserInfo(String openid)
获取关注者信息 |
GetUserInfoListResponse |
getUserInfoList(List<UserInfo> userInfoList)
批量获取关注者信息 |
GetUsersResponse |
getUsers(String nextOpenid)
获取关注者列表 |
ResultType |
moveGroupUser(String[] openids,
String toGroupid)
移动关注者所在分组 |
ResultType |
moveGroupUser(String openid,
String toGroupid)
移动关注者所在分组 |
ResultType |
setUserRemark(String openid,
String remark)
设置关注者备注 |
ResultType |
updateGroup(Integer groupid,
String name)
修改分组信息 |
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的方法 |
|---|
executeGet, executePost, executePost, isSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public UserAPI(ApiConfig config)
| 方法详细信息 |
|---|
public GetUsersResponse getUsers(String nextOpenid)
nextOpenid - 下一个用户的ID
public ResultType setUserRemark(String openid,
String remark)
openid - 关注者IDremark - 备注内容
public CreateGroupResponse createGroup(String name)
name - 分组名称
public GetGroupsResponse getGroups()
public String getGroupIdByOpenid(String openid)
openid - 关注者ID
public ResultType updateGroup(Integer groupid,
String name)
groupid - 分组IDname - 新名称
public ResultType moveGroupUser(String openid,
String toGroupid)
openid - 关注者IDtoGroupid - 新分组ID
public ResultType moveGroupUser(String[] openids,
String toGroupid)
openids - 关注者IDtoGroupid - 新分组ID
public GetUserInfoResponse getUserInfo(String openid)
openid - 关注者ID
public GetUserInfoListResponse getUserInfoList(List<UserInfo> userInfoList)
userInfoList - 关注者ID列表
public ResultType deleteGroup(Integer groupId)
groupId - 分组ID
public ResultType batchTagsToUser(List<String> openidList,
Integer tagId)
openidList - 用户openid列表tagId - 标签ID
public ResultType batchDeleteTagsToUser(List<String> openidList,
Integer tagId)
openidList - 用户openid列表tagId - 标签ID
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||