修改密码退出登录用户
commit
22d50c93ce
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue