搜索用户可以指定搜索用户或者机器人

This commit is contained in:
heavyrian2012
2025-06-22 14:59:34 +08:00
parent ced74280d8
commit 721f27a58a
8 changed files with 325 additions and 50 deletions
@@ -39,12 +39,13 @@ public class MeshAdmin {
return AdminHttpUtils.httpJsonPost(path, getUserInfo, OutputUserInfoList.class);
}
public static IMResult<PojoSearchUserRes> searchUser(String keyword, int searchType, int page) throws Exception {
public static IMResult<PojoSearchUserRes> searchUser(String keyword, int searchType, int userType, int page) throws Exception {
String path = APIPath.Search_User;
PojoSearchUserReq req = new PojoSearchUserReq();
req.keyword = keyword;
req.searchType = searchType;
req.page = page;
req.userType = userType;
return AdminHttpUtils.httpJsonPost(path, req, PojoSearchUserRes.class);
}