修改密码退出登录用户

main
031026 2024-04-12 14:17:45 +08:00
commit 22d50c93ce
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ public class SysUserOnlineController extends BaseController {
@Log(title = "在线用户", businessType = BusinessType.FORCE)
@DeleteMapping("/{tokenId}")
public Result forceLogout (@PathVariable String tokenId) {
System.out.println(tokenId);
redisService.deleteObject(CacheConstants.LOGIN_TOKEN_KEY + tokenId);
return success();
}