| | |
| | | String token2 = JwtUtil.getToken(authToken); |
| | | BladeUser user = this.getUser(token2); |
| | | //不存在就请求 |
| | | if((Func.isEmpty(authToken) || Func.isEmpty(user)) && user.getTenantId().equals(NacosConfigCache.getAdminUserInfo().getTenantId())){ |
| | | if((Func.isEmpty(authToken) || Func.isEmpty(user)) && !user.getTenantId().equals(NacosConfigCache.getAdminUserInfo().getTenantId())){ |
| | | String responseBody = this.passwordFreeLogin(userName); |
| | | //拿到响应体其中包含token,用request中的ip地址作为键值,将token存入缓存 |
| | | TokenUserObject tokenUserObject = null; |