|
@@ -496,7 +496,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
@@ -496,7 +496,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
496
|
|
496
|
|
497
|
private void deleteIboxsByRedis(int uid, String type){
|
497
|
private void deleteIboxsByRedis(int uid, String type){
|
498
|
logger.info("deleteIboxsByRedis params uid is {} type is {}",uid,type);
|
498
|
logger.info("deleteIboxsByRedis params uid is {} type is {}",uid,type);
|
499
|
- RedisKeyBuilder inboxKey = CacheEnum.USERS_INBOX_LIST.generateKey(uid);
|
499
|
+ RedisKeyBuilder inboxKey = CacheEnum.USERS_INBOX_VO_LIST.generateKey(uid);
|
500
|
redisTemplate.delete(inboxKey);
|
500
|
redisTemplate.delete(inboxKey);
|
501
|
RedisKeyBuilder key = CacheEnum.USERS_INBOX_TYPE_UNREADCOUNT.generateKey(uid,type);
|
501
|
RedisKeyBuilder key = CacheEnum.USERS_INBOX_TYPE_UNREADCOUNT.generateKey(uid,type);
|
502
|
redisTemplate.delete(key);
|
502
|
redisTemplate.delete(key);
|
|
@@ -644,8 +644,11 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
@@ -644,8 +644,11 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
644
|
IdentifyTrackResp item = new IdentifyTrackResp();
|
644
|
IdentifyTrackResp item = new IdentifyTrackResp();
|
645
|
Integer toUid = Integer.parseInt(record.getToUid());
|
645
|
Integer toUid = Integer.parseInt(record.getToUid());
|
646
|
item.setUid(toUid);
|
646
|
item.setUid(toUid);
|
647
|
- String mobileMask = MobileHelper.coverMobile2(profileMap.get(toUid).getMobile());//隐位的手机号码--隐藏中间6位
|
|
|
648
|
- item.setContent(StringUtils.isEmpty(profileMap.get(toUid).getNickname()) ? mobileMask : profileMap.get(toUid).getNickname());
|
647
|
+ String content = profileMap.get(toUid).getNickname();
|
|
|
648
|
+ if(StringUtils.isEmpty(content) || content.startsWith("YOHO-")) {
|
|
|
649
|
+ content = MobileHelper.coverMobile2(profileMap.get(toUid).getMobile());//隐位的手机号码--隐藏中间6位
|
|
|
650
|
+ }
|
|
|
651
|
+ item.setContent(content);
|
649
|
String headIcon = profileMap.get(toUid).getHead_ico();
|
652
|
String headIcon = profileMap.get(toUid).getHead_ico();
|
650
|
if(DEFAULT_HEAD_IMG.equals(headIcon) || StringUtils.isBlank(headIcon)){//有货的默认头像
|
653
|
if(DEFAULT_HEAD_IMG.equals(headIcon) || StringUtils.isBlank(headIcon)){//有货的默认头像
|
651
|
//ufo 用户的默认头像
|
654
|
//ufo 用户的默认头像
|