diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java index cefe8012..54990ce6 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/user/ManagerAuthServiceImpl.java @@ -393,11 +393,18 @@ public class ManagerAuthServiceImpl implements ManagerAuthService { if (region == null) { return; } - officialNoticeClient.send( + + String url = null; + PropsSourceRecord props = propsSourceRecordService.getPropsById(cmd.getPropsId()); + if (props != null) { + url = props.getCover(); + } + + officialNoticeClient.send( NoticeExtTemplateCustomizeCmd.builder().toAccount(cmd.getAcceptUserId()) .noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS) .content(I18nUtils.getPropsRewardContent(sourceType, days, I18nUtils.getLanguageByRegion(region.getRegionName()))) - .expand(null) + .expand(url) .build()); } @@ -441,12 +448,12 @@ public class ManagerAuthServiceImpl implements ManagerAuthService { if (region == null) { return; } - officialNoticeClient.send( + /*officialNoticeClient.send( NoticeExtTemplateCustomizeCmd.builder().toAccount(cmd.getAcceptUserId()) .noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS) .content(I18nUtils.getPropsRewardContent(ConsolePropsTypeEnum.SPECIAL_ID.getName(), 30, I18nUtils.getLanguageByRegion(region.getRegionName()))) .expand(null) - .build()); + .build());*/ }