2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-05-18 c060df1d22f23f059c03c432b6ff420bcb9801cf
ximon-admin/src/main/java/com/sandu/ximon/admin/controller/AdminController.java
@@ -191,7 +191,7 @@
    @GetMapping(value = "/logout")
    public ResponseVO<Object> LogOut() {
        String content = "用户名:" + SecurityUtils.getUsername();
        StoreOperationRecordsUtils.storeOperationData(null, null, "用户退出登录", content);
        StoreOperationRecordsUtils.storeOperationData(null, null, "用管理员退出登录", content);
        String key = String.format("%d_%d", SecurityUtils.getUserDetails().getUserId(), SecurityUtils.getUserDetails().getAdministratorType());
        redisService.set(key, null);
        return ResponseUtil.success("退出登录成功");