|
|
@ -255,6 +255,20 @@ public class UserBaseInfoRedis { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 批量清楚用户缓存信息 |
|
|
|
* @param userIds |
|
|
|
* @return |
|
|
|
* @author wangc |
|
|
|
* @date 2020.08.06 14:34 |
|
|
|
**/ |
|
|
|
public void clearUserCache(List<String> userIds){ |
|
|
|
userIds.forEach(id ->{ |
|
|
|
if(StringUtils.isNotBlank(id)) { |
|
|
|
redisUtils.delete(UserRedisKeys.getResiUserKey(id)); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public <T> void mergeObject(T origin, T destination) { |
|
|
|
if (origin == null || destination == null) |
|
|
|