|
|
|
@ -166,7 +166,6 @@ public class ImAgentServiceImpl implements IImAgentService { |
|
|
|
ImAgent agent = baseMapper.selectOne(new LambdaQueryWrapper<ImAgent>().eq(ImAgent::getSysId, userId)); |
|
|
|
|
|
|
|
String token = "error"; |
|
|
|
System.out.println("走到error"); |
|
|
|
if(ObjectUtil.isNotNull(agent)){ |
|
|
|
String uniqueToken = agent.getUniqueToken(); |
|
|
|
if(ObjectUtil.isNotEmpty(uniqueToken)){ |
|
|
|
@ -175,8 +174,6 @@ public class ImAgentServiceImpl implements IImAgentService { |
|
|
|
RedisUtils.setCacheObject(cacheKey, token, Duration.ofHours(1)); |
|
|
|
} |
|
|
|
} |
|
|
|
System.out.println("走到末尾"); |
|
|
|
System.out.println(token); |
|
|
|
return token; |
|
|
|
} |
|
|
|
|
|
|
|
|