Authored by wangshusheng

头像昵称

... ... @@ -438,9 +438,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService {
CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo();
bo.setUserImgUrl(userImgUrl);
bo.setCutPrice(cutPrice);
bo.setHelpUserImgUrl(helpUserImgUrl);
if(systemCreateBo!=null){
bo.setSystemCutPrice(systemCreateBo.getCutPrice());
bo.setUserImgUrl(systemCreateBo.getUserImgUrl());
bo.setHelpUserImgUrl(systemCreateBo.getHelpUserImgUrl());
}
return bo;
}
... ... @@ -510,9 +512,19 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService {
}catch(Exception e){
logger.warn(" system addHelpUserInfo failed, userId is {}, activityId is {}, productSkn is {}, exception is {}", userId, activityId, productSkn, e);
}
String userImageUrl = null;
try{
// 调uid查询用户头像
UserInfoRspBO[] userInfoBoArray = invokeUicGetUserInfo(userId.toString());
userImageUrl = buildUserImage(userId, userInfoBoArray);
}catch(Exception e){
}
CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo();
bo.setCutPrice(cutPrice);
bo.setUserImgUrl(userImageUrl);
bo.setHelpUserImgUrl(SYSTEM_HELP_IMAGE);
return bo;
}
... ...