管理员赠送url处理
This commit is contained in:
parent
eb5ab98da4
commit
705527105c
@ -393,11 +393,18 @@ public class ManagerAuthServiceImpl implements ManagerAuthService {
|
|||||||
if (region == null) {
|
if (region == null) {
|
||||||
return;
|
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())
|
NoticeExtTemplateCustomizeCmd.builder().toAccount(cmd.getAcceptUserId())
|
||||||
.noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS)
|
.noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS)
|
||||||
.content(I18nUtils.getPropsRewardContent(sourceType, days, I18nUtils.getLanguageByRegion(region.getRegionName())))
|
.content(I18nUtils.getPropsRewardContent(sourceType, days, I18nUtils.getLanguageByRegion(region.getRegionName())))
|
||||||
.expand(null)
|
.expand(url)
|
||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -441,12 +448,12 @@ public class ManagerAuthServiceImpl implements ManagerAuthService {
|
|||||||
if (region == null) {
|
if (region == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
officialNoticeClient.send(
|
/*officialNoticeClient.send(
|
||||||
NoticeExtTemplateCustomizeCmd.builder().toAccount(cmd.getAcceptUserId())
|
NoticeExtTemplateCustomizeCmd.builder().toAccount(cmd.getAcceptUserId())
|
||||||
.noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS)
|
.noticeType(OfficialNoticeTypeEnum.GIVE_AWAY_PROPS)
|
||||||
.content(I18nUtils.getPropsRewardContent(ConsolePropsTypeEnum.SPECIAL_ID.getName(), 30, I18nUtils.getLanguageByRegion(region.getRegionName())))
|
.content(I18nUtils.getPropsRewardContent(ConsolePropsTypeEnum.SPECIAL_ID.getName(), 30, I18nUtils.getLanguageByRegion(region.getRegionName())))
|
||||||
.expand(null)
|
.expand(null)
|
||||||
.build());
|
.build());*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user