From 38574a61721d0ff51c37d3059cf1b46ae5f3ce3d Mon Sep 17 00:00:00 2001 From: guyuliang Date: Thu, 22 Aug 2024 14:41:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E6=8E=A5=E5=8F=A3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9-=E5=8F=AA=E8=A6=81=E9=80=80=E5=87=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E5=92=8C=E7=AE=A1=E7=90=86=E7=AB=AF=E5=90=8C?= =?UTF-8?q?=E6=97=B6=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bocloud/sms/service/UserServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/UserServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/UserServiceImpl.java index d23e65a..e55bb1a 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/UserServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/UserServiceImpl.java @@ -935,6 +935,9 @@ public class UserServiceImpl implements UserService { String tokenKey = Common.TOKEN + "_" + Catalog.User.name() + "_" + id; redisTemplate.delete(tokenKey + "_n"); redisTemplate.delete(tokenKey + "_o"); + String managerTokenKey = Common.TOKEN + "_" + Catalog.Manager.name() + "_" + id; + redisTemplate.delete(managerTokenKey + "_n"); + redisTemplate.delete(managerTokenKey + "_o"); } return new Result(true, "用户退出成功!"); } catch (Exception e) {