he2802 2 years ago
parent
commit
d513eb08b1

+ 1 - 1
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxTokenService.java

@@ -96,7 +96,7 @@ public class WxTokenService
             // 解析对应的权限以及用户信息
             // 解析对应的权限以及用户信息
             String uuid = (String) claims.get(Constants.WX_LOGIN_USER_KEY);
             String uuid = (String) claims.get(Constants.WX_LOGIN_USER_KEY);
             if(!iUserLoginKeyService.queryByUserKey(uuid)){
             if(!iUserLoginKeyService.queryByUserKey(uuid)){
-                throw new BaseException(null,"409",null,"已被踢下线");
+                throw new CustomException("已被踢下线",409);
             }
             }
             String userKey = getTokenKey(uuid);
             String userKey = getTokenKey(uuid);
             ClientLoginUser user = redisCache.getCacheObject(userKey);
             ClientLoginUser user = redisCache.getCacheObject(userKey);