This commit is contained in:
Leufolium 2024-07-15 18:12:20 +08:00
parent f9924cb7cb
commit 30542411c4
2 changed files with 3 additions and 3 deletions

View File

@ -103,10 +103,10 @@ var ErrCodeMsgMap = map[ErrCode]string{
ErrCodeStreamerAuthApprovalBasicNotExistOrWrongStatus: "女神入站审批不存在或审批状态已更新,请刷新后重试!",
ErrCodeStreamerAuthApprovalDetailsSrvFail: "女神认证完善审批服务错误",
ErrCodeStreamerAuthApprovalDetailsNotExist: "女神认证完善审批不存在",
ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "请勿重复提交认证",
ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "您已通过认证,请勿重复提交",
ErrCodeStreamerAuthApprovalDetailsInviterNotExist: "邀请人不存在",
ErrCodeStreamerAuthApprovalDetailsInviterIsNotAStreamer: "邀请人非主播",
ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "所选完善审批中有人并非准主播,请刷新后重试",
ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "该主播尚未通过“网红入驻审核”,请先前往审核",
ErrCodeStreamerAuthApprovalDetailsNotInApprovingStatus: "所选完善审批中有项目状态错误,请刷新后重试",
ErrCodeStreamerSrvFail: "主播服务错误",

View File

@ -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