|
|
@ -49,6 +49,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 保存在线用户信息
|
|
|
|
* 保存在线用户信息
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param jwtUserDto /
|
|
|
|
* @param jwtUserDto /
|
|
|
|
* @param token /
|
|
|
|
* @param token /
|
|
|
|
* @param request /
|
|
|
|
* @param request /
|
|
|
@ -69,6 +70,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询全部数据
|
|
|
|
* 查询全部数据
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param filter /
|
|
|
|
* @param filter /
|
|
|
|
* @param pageable /
|
|
|
|
* @param pageable /
|
|
|
|
* @return /
|
|
|
|
* @return /
|
|
|
@ -83,6 +85,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询全部数据,不分页
|
|
|
|
* 查询全部数据,不分页
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param filter /
|
|
|
|
* @param filter /
|
|
|
|
* @return /
|
|
|
|
* @return /
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -106,6 +109,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 踢出用户
|
|
|
|
* 踢出用户
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param key /
|
|
|
|
* @param key /
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void kickOut(String key) {
|
|
|
|
public void kickOut(String key) {
|
|
|
@ -115,6 +119,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 退出登录
|
|
|
|
* 退出登录
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param token /
|
|
|
|
* @param token /
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void logout(String token) {
|
|
|
|
public void logout(String token) {
|
|
|
@ -124,6 +129,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 导出
|
|
|
|
* 导出
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param all /
|
|
|
|
* @param all /
|
|
|
|
* @param response /
|
|
|
|
* @param response /
|
|
|
|
* @throws IOException /
|
|
|
|
* @throws IOException /
|
|
|
@ -145,6 +151,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询用户
|
|
|
|
* 查询用户
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param key /
|
|
|
|
* @param key /
|
|
|
|
* @return /
|
|
|
|
* @return /
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -154,6 +161,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 检测用户是否在之前已经登录,已经登录踢下线
|
|
|
|
* 检测用户是否在之前已经登录,已经登录踢下线
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param userName 用户名
|
|
|
|
* @param userName 用户名
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public void checkLoginOnUser(String userName, String igoreToken) {
|
|
|
|
public void checkLoginOnUser(String userName, String igoreToken) {
|
|
|
@ -179,6 +187,7 @@ public class OnlineUserService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 根据用户名强退用户
|
|
|
|
* 根据用户名强退用户
|
|
|
|
|
|
|
|
*
|
|
|
|
* @param username /
|
|
|
|
* @param username /
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Async
|
|
|
|
@Async
|
|
|
|