Merge pull request 'by Robin at 20241224' (#927) from feat-IRONFANS-212-Robin into test

Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/service/pulls/927
This commit is contained in:
chenhao 2024-12-24 16:51:12 +08:00
commit c9bd567875
1 changed files with 3 additions and 3 deletions

View File

@ -599,7 +599,7 @@ func (handler *NotifBuilderHandler) handleAudMomentRejected() {
argsMap["thumbnail"] = preview
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", moment.GetId()).Map()
argsMap["validate_params"] = []any{validator.AudMoment, moment.GetId()}
argsMap["validate_params"] = []any{int64(validator.AudMoment), moment.GetId()}
DefaultService.utilWriteNotifInfo(ctx, consts.AudNotifTemp_MomentRejected, moment.GetMid(), ctStr)
}
}
@ -656,7 +656,7 @@ func (handler *NotifBuilderHandler) handleAudZoneMomentRejected() {
argsMap["thumbnail"] = preview
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", zonemoment.GetId()).Map()
argsMap["validate_params"] = []any{validator.AudZoneMoment, zonemoment.GetId()}
argsMap["validate_params"] = []any{int64(validator.AudZoneMoment), zonemoment.GetId()}
DefaultService.utilWriteNotifInfoByMap(ctx, consts.AudNotifTemp_ZoneMomentRejected, zonemoment.GetMid(), argsMap)
}
@ -714,7 +714,7 @@ func (handler *NotifBuilderHandler) handleAudZoneMomentReeditionRejected() {
argsMap["thumbnail"] = preview
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", zonemoment.GetId()).Map()
argsMap["validate_params"] = []any{validator.AudZoneMoment, zonemoment.GetId()}
argsMap["validate_params"] = []any{int64(validator.AudZoneMoment), zonemoment.GetId()}
DefaultService.utilWriteNotifInfoByMap(ctx, consts.AudNotifTemp_ZoneMomentReeditionRejected, zonemoment.GetMid(), argsMap)
}