...
|
...
|
@@ -590,8 +590,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
IdentifyTrackResp track = new IdentifyTrackResp();
|
|
|
track.setUid(uid);
|
|
|
track.setType(MESSAGE_TYPE_APPLICANT);
|
|
|
String mobileMask = MobileHelper.coverMobile2(profileInfo.getMobile());//隐位的手机号码--隐藏中间6位
|
|
|
track.setContent(StringUtils.isEmpty(profileInfo.getNickname()) ? mobileMask : profileInfo.getNickname());
|
|
|
track.setContent(getContent(profileInfo));
|
|
|
String headIcon = profileInfo.getHead_ico();
|
|
|
if(DEFAULT_HEAD_IMG.equals(headIcon) || StringUtils.isBlank(headIcon)){//有货的默认头像
|
|
|
//ufo 用户的默认头像
|
...
|
...
|
@@ -611,6 +610,14 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
result.getTrackList().add(track);
|
|
|
}
|
|
|
|
|
|
private String getContent(ProfileInfoRsp profileInfo) {
|
|
|
String content = profileInfo.getNickname();
|
|
|
if(StringUtils.isEmpty(content)|| content.startsWith("YOHO-")) {
|
|
|
content = MobileHelper.coverMobile2(profileInfo.getMobile());//隐位的手机号码--隐藏中间6位
|
|
|
}
|
|
|
return content;
|
|
|
}
|
|
|
|
|
|
//交易轨迹
|
|
|
private List<IdentifyTrackResp> getTrackList(IdentifyRecord identifyRecord, String authGroup) {
|
|
|
List<IdentifyTrackResp> trackRespList = new ArrayList<>();
|
...
|
...
|
@@ -644,11 +651,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
IdentifyTrackResp item = new IdentifyTrackResp();
|
|
|
Integer toUid = Integer.parseInt(record.getToUid());
|
|
|
item.setUid(toUid);
|
|
|
String content = profileMap.get(toUid).getNickname();
|
|
|
if(StringUtils.isEmpty(content) || content.startsWith("YOHO-")) {
|
|
|
content = MobileHelper.coverMobile2(profileMap.get(toUid).getMobile());//隐位的手机号码--隐藏中间6位
|
|
|
}
|
|
|
item.setContent(content);
|
|
|
item.setContent(getContent(profileMap.get(toUid)));
|
|
|
String headIcon = profileMap.get(toUid).getHead_ico();
|
|
|
if(DEFAULT_HEAD_IMG.equals(headIcon) || StringUtils.isBlank(headIcon)){//有货的默认头像
|
|
|
//ufo 用户的默认头像
|
...
|
...
|
|