Authored by mlge

鉴定结果查询接口--修改用户默认的头像

... ... @@ -81,6 +81,8 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
@Autowired
private ConfigReader configReader;
public static final String DEFAULT_HEAD_IMG = "http://img11.static.yhbimg.com/yhb-img01/2016/07/05/13/017ec560b82c132ab2fdb22f7cf6f42b83.png?imageView/{mode}/w/{width}/h/{height}";
/**
* 鉴定结果查询接口
* @param tagId
... ... @@ -171,13 +173,17 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
mobileMask = buyerInfo.getNickName();
}
String headIcon = buyerInfo.getHeadIco();
if(DEFAULT_HEAD_IMG.equals(headIcon) || StringUtils.isBlank(headIcon)){//有货的默认头像
//ufo 用户的默认头像
headIcon = configReader.getString("ufo.product.defaultUserHeadIcon", "http://head.static.yhbimg.com/yhb-head/2018/12/27/15/01e4d5f0761cab78186e709ba910f1930d.jpg?imageView2/{mode}/w/{width}/h/{height}");
}
//2)订单完成
if(orderStatus != null && orderStatus.intValue() == 5){//订单已完成
IdentifyTrackResp updateOrderTrack = new IdentifyTrackResp();
timeStr = formatDate(buyerOrder.getUpdateTime(), "yyyy.MM.dd HH:mm:ss");
updateOrderTrack.setTime(buyerOrder.getUpdateTime());
updateOrderTrack.setTimeStr(timeStr);
updateOrderTrack.setContent("用户" + mobileMask + "成为商品新主人");
updateOrderTrack.setContent("用户" + mobileMask + "成为商品物权所有人");
updateOrderTrack.setHeadIcon(headIcon);
updateOrderTrack.setMobile(mobileMask);
trackRespList.add(updateOrderTrack);
... ...
#UFO鉴定中心默认头像
ufo.product.defaultAuthHeadIcon=http://head.static.yhbimg.com/yhb-head/2018/12/24/10/01187dd372e153ea9c062cd0604cd169b2.jpg?imageView2/{mode}/w/{width}/h/{height}
\ No newline at end of file
ufo.product.defaultAuthHeadIcon=http://head.static.yhbimg.com/yhb-head/2018/12/24/10/01187dd372e153ea9c062cd0604cd169b2.jpg?imageView2/{mode}/w/{width}/h/{height}
#UFO用户的默认头像
ufo.product.defaultUserHeadIcon=http://head.static.yhbimg.com/yhb-head/2018/12/27/15/01e4d5f0761cab78186e709ba910f1930d.jpg?imageView2/{mode}/w/{width}/h/{height}
\ No newline at end of file
... ...