...
|
...
|
@@ -72,10 +72,16 @@ public class UserController { |
|
|
@RequestParam(value = "pageSize",required = false,defaultValue = "5")
|
|
|
int pageSize,
|
|
|
@RequestParam(value = "userName",required = false) String username,
|
|
|
@RequestParam(value = "realName",required = false) String realname)
|
|
|
@RequestParam(value = "realName",required = false) String realname,
|
|
|
@RequestParam(value = "online",required = false) Boolean online,
|
|
|
@RequestParam(value = "loginFlag",required = false) String loginFlag)
|
|
|
{
|
|
|
|
|
|
PageInfo<KakoUser> usersPageInfo = userService.selectAllUser(pageNum,pageSize, username, realname);
|
|
|
KakoUser kakoUser = new KakoUser();
|
|
|
kakoUser.setLoginFlag(loginFlag);
|
|
|
kakoUser.setLoginName(username);
|
|
|
kakoUser.setName(realname);
|
|
|
kakoUser.setOnline(online);
|
|
|
PageInfo<KakoUser> usersPageInfo = userService.selectAllUser(pageNum,pageSize, kakoUser);
|
|
|
return new ResultJson("200","success",usersPageInfo);
|
|
|
}
|
|
|
|
...
|
...
|
|