From d9b9f0b3d3b9917b9c85210d6227bfb9d444e622 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 22 二月 2022 21:37:48 +0800 Subject: [PATCH] fix 修复测试账号 邮箱重复导致的问题 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java index 3a033e5..fad8b5b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysLoginController.java @@ -65,6 +65,7 @@ public R<Void> logout() { try { StpUtil.logout(); + loginService.logout(LoginHelper.getUsername()); } catch (NotLoginException e) { } return R.ok("閫�鍑烘垚鍔�"); -- Gitblit v1.9.3