Authored by mali

站内信优化

... ... @@ -274,10 +274,9 @@ public class InBoxServiceImpl implements IInBoxService {
log.info("listInboxByTypes updateReadedByUidAndType param is {}", reqVO);
inBoxDao.updateReadedByUidAndType(getTableName(reqVO.getUid()),reqVO.getUid(),reqVO.getType(),DateUtil.getCurrentTimeSecond(),getUnreadBeginTime());
RedisKeyBuilder key = CacheEnum.USERS_INBOX_TYPE_UNREADCOUNT.generateKey(reqVO.getUid(),reqVO.getType());
RedisKeyBuilder key1 = CacheEnum.USERS_INBOX_VO_LAST_INFO.generateKey(reqVO.getUid());
RedisKeyBuilder key2 = CacheEnum.USERS_INBOX_LIST_UNREAD_TOTAL.generateKey(reqVO.getUid());
redisTemplate.delete(key, key1, key2);
redisTemplate.delete(key, key2);
}
}
... ...