From b90fe56ef4ac2f7f2645511eb9f06aa21bd9c7e3 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Tue, 29 Dec 2020 22:50:44 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/app/action/ApiCommonAction.java | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/action/ApiCommonAction.java b/zq-erp/src/main/java/com/matrix/system/app/action/ApiCommonAction.java index 04226c5..c03a787 100644 --- a/zq-erp/src/main/java/com/matrix/system/app/action/ApiCommonAction.java +++ b/zq-erp/src/main/java/com/matrix/system/app/action/ApiCommonAction.java @@ -80,14 +80,4 @@ return result; } - @ApiOperation(value = "退出登陆", notes = "退出登陆") - @GetMapping(value = "/loginOut") - public AjaxResult loginOut() { - SysUsers sysUsers = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); - String token = redisClient.getCachedValue(sysUsers.getSuId().toString()); - - redisClient.removeObject(token); - redisClient.removeObject(sysUsers.getSuId().toString()); - return AjaxResult.buildSuccessInstance("退出成功"); - } } -- Gitblit v1.9.1