diff --git a/api/errcode/errcode.go b/api/errcode/errcode.go index f329c288..20212b4a 100644 --- a/api/errcode/errcode.go +++ b/api/errcode/errcode.go @@ -103,10 +103,10 @@ var ErrCodeMsgMap = map[ErrCode]string{ ErrCodeStreamerAuthApprovalBasicNotExistOrWrongStatus: "女神入站审批不存在或审批状态已更新,请刷新后重试!", ErrCodeStreamerAuthApprovalDetailsSrvFail: "女神认证完善审批服务错误", ErrCodeStreamerAuthApprovalDetailsNotExist: "女神认证完善审批不存在", - ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "请勿重复提交认证", + ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "您已通过认证,请勿重复提交", ErrCodeStreamerAuthApprovalDetailsInviterNotExist: "邀请人不存在", ErrCodeStreamerAuthApprovalDetailsInviterIsNotAStreamer: "邀请人非主播", - ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "所选完善审批中有人并非准主播,请刷新后重试", + ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "该主播尚未通过“网红入驻审核”,请先前往审核", ErrCodeStreamerAuthApprovalDetailsNotInApprovingStatus: "所选完善审批中有项目状态错误,请刷新后重试", ErrCodeStreamerSrvFail: "主播服务错误", diff --git a/app/mix/service/service.go b/app/mix/service/service.go index 1aa65dea..ae9d642b 100644 --- a/app/mix/service/service.go +++ b/app/mix/service/service.go @@ -2008,7 +2008,7 @@ func (s *Service) OpApproveStreamerAuthApprovalBasic(ctx *gin.Context, req *stre for _, basic := range list { mids = append(mids, basic.GetMid()) } - err = _DefaultStreamerAuthApprovalDetails.OpDeleteBatchByMids(ctx, mids, consts.StreamerAuthApprovalDetails_Rejected, consts.StreamerAuthApprovalDetailsApprove_Rejected, util.DerefString(req.Remarks)) + err = _DefaultStreamerAuthApprovalDetails.OpDeleteBatchByMids(ctx, mids, consts.StreamerAuthApprovalDetails_Rejected, consts.StreamerAuthApprovalDetailsApprove_Rejected, "") if err != nil { logger.Error("_DefaultStreamerAuthApprovalDetails OpDeleteBatchByMids fail, req: %v, err: %v", util.ToJson(req), err) ec = errcode.ErrCodeStreamerAuthApprovalDetailsSrvFail