by Robin at 20241224
This commit is contained in:
parent
e45cef8428
commit
3841573b72
|
@ -599,7 +599,7 @@ func (handler *NotifBuilderHandler) handleAudMomentRejected() {
|
||||||
argsMap["thumbnail"] = preview
|
argsMap["thumbnail"] = preview
|
||||||
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
||||||
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", moment.GetId()).Map()
|
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)
|
DefaultService.utilWriteNotifInfo(ctx, consts.AudNotifTemp_MomentRejected, moment.GetMid(), ctStr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -656,7 +656,7 @@ func (handler *NotifBuilderHandler) handleAudZoneMomentRejected() {
|
||||||
argsMap["thumbnail"] = preview
|
argsMap["thumbnail"] = preview
|
||||||
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
||||||
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", zonemoment.GetId()).Map()
|
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)
|
DefaultService.utilWriteNotifInfoByMap(ctx, consts.AudNotifTemp_ZoneMomentRejected, zonemoment.GetMid(), argsMap)
|
||||||
}
|
}
|
||||||
|
@ -714,7 +714,7 @@ func (handler *NotifBuilderHandler) handleAudZoneMomentReeditionRejected() {
|
||||||
argsMap["thumbnail"] = preview
|
argsMap["thumbnail"] = preview
|
||||||
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
argsMap["build_hyperlink"] = DefaultService.utilBuildInwardHyperLink
|
||||||
argsMap["hyperlink_params_map"] = util.NewHyperLinkParamsMapBuilder().NewEnds("app", "h5").WriteParamToAllEnd("id", zonemoment.GetId()).Map()
|
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)
|
DefaultService.utilWriteNotifInfoByMap(ctx, consts.AudNotifTemp_ZoneMomentReeditionRejected, zonemoment.GetMid(), argsMap)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue