Showing
1 changed file
with
13 additions
and
1 deletions
@@ -438,9 +438,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { | @@ -438,9 +438,11 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { | ||
438 | CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo(); | 438 | CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo(); |
439 | bo.setUserImgUrl(userImgUrl); | 439 | bo.setUserImgUrl(userImgUrl); |
440 | bo.setCutPrice(cutPrice); | 440 | bo.setCutPrice(cutPrice); |
441 | - bo.setHelpUserImgUrl(helpUserImgUrl); | 441 | + |
442 | if(systemCreateBo!=null){ | 442 | if(systemCreateBo!=null){ |
443 | bo.setSystemCutPrice(systemCreateBo.getCutPrice()); | 443 | bo.setSystemCutPrice(systemCreateBo.getCutPrice()); |
444 | + bo.setUserImgUrl(systemCreateBo.getUserImgUrl()); | ||
445 | + bo.setHelpUserImgUrl(systemCreateBo.getHelpUserImgUrl()); | ||
444 | } | 446 | } |
445 | return bo; | 447 | return bo; |
446 | } | 448 | } |
@@ -510,9 +512,19 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { | @@ -510,9 +512,19 @@ public class CutDownPriceServiceImpl implements ICutDownPriceService { | ||
510 | }catch(Exception e){ | 512 | }catch(Exception e){ |
511 | logger.warn(" system addHelpUserInfo failed, userId is {}, activityId is {}, productSkn is {}, exception is {}", userId, activityId, productSkn, e); | 513 | logger.warn(" system addHelpUserInfo failed, userId is {}, activityId is {}, productSkn is {}, exception is {}", userId, activityId, productSkn, e); |
512 | } | 514 | } |
515 | + String userImageUrl = null; | ||
516 | + try{ | ||
517 | + // 调uid查询用户头像 | ||
518 | + UserInfoRspBO[] userInfoBoArray = invokeUicGetUserInfo(userId.toString()); | ||
519 | + userImageUrl = buildUserImage(userId, userInfoBoArray); | ||
520 | + }catch(Exception e){ | ||
521 | + | ||
522 | + } | ||
513 | 523 | ||
514 | CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo(); | 524 | CutDownPriceProductHelpUserBo bo = new CutDownPriceProductHelpUserBo(); |
515 | bo.setCutPrice(cutPrice); | 525 | bo.setCutPrice(cutPrice); |
526 | + bo.setUserImgUrl(userImageUrl); | ||
527 | + bo.setHelpUserImgUrl(SYSTEM_HELP_IMAGE); | ||
516 | return bo; | 528 | return bo; |
517 | } | 529 | } |
518 | 530 |
-
Please register or login to post a comment