liusuyi
2024-08-15 af8474ee7e0f6ad3c6139b72304cdcb286a5c60e
ruoyi-framework/src/main/java/com/ruoyi/framework/security/handle/LogoutSuccessHandlerImpl.java
@@ -49,7 +49,9 @@
        {
            String userName = loginUser.getUsername();
            // 删除用户缓存记录
            tokenService.delLoginUser(loginUser.getToken());
           // tokenService.delLoginUser(loginUser.getToken());
            // 删除用户缓存记录
            tokenService.delLoginUser(loginUser.getToken(), loginUser.getUser().getUserId());
            // 记录用户退出日志
            //国际化
            final String key = "language";