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) {