...
|
...
|
@@ -423,8 +423,8 @@ public class InBoxServiceImpl implements IInBoxService { |
|
|
if(CollectionUtils.isNotEmpty(inBoxes)){
|
|
|
result.put("lastMessage", inBoxes.get(0).getContent());
|
|
|
result.put("createTime", inBoxes.get(0).getCreateTime());
|
|
|
redisTemplate.setEx(inboxKey, inBoxes.get(0), CacheEnum.USERS_INBOX_VO_LAST_INFO.getCacheTime());
|
|
|
}
|
|
|
redisTemplate.setEx(inboxKey, inBoxes.get(0), CacheEnum.USERS_INBOX_VO_LAST_INFO.getCacheTime());
|
|
|
} else {
|
|
|
result.put("lastMessage", inbox.getContent());
|
|
|
result.put("createTime", inbox.getCreateTime());
|
...
|
...
|
|