Commit f2cfc79f authored by 赵啸非's avatar 赵啸非

添加收藏相关类

parent 86e6f8d1
......@@ -87,10 +87,10 @@ public class AuthTokenServiceImpl implements IAuthTokenService {
String userKey = getTokenKey(uuid);
// Rest<String> rest = userFeign.getToken(userKey);
// String userStr = rest.getData();
cacheService.select(portalDb);
// cacheService.select(portalDb);
String userStr = cacheService.get(userKey);
cacheService.select(db);
// cacheService.select(db);
if (StringUtils.isNotEmpty(userStr)) {
UserEntity userEntity = JSONObject.parseObject(userStr, UserEntity.class);
userEntity.setToken(token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment