Authored by mali

站内信优化

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