From 705527105c83e5bc6b79ea60800abf6fceb4a912 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 16 Oct 2025 20:13:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=B5=A0=E9=80=81ur?= =?UTF-8?q?l=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/user/ManagerAuthServiceImpl.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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());*/ }