This commit is contained in:
parent
f9924cb7cb
commit
30542411c4
|
@ -103,10 +103,10 @@ var ErrCodeMsgMap = map[ErrCode]string{
|
||||||
ErrCodeStreamerAuthApprovalBasicNotExistOrWrongStatus: "女神入站审批不存在或审批状态已更新,请刷新后重试!",
|
ErrCodeStreamerAuthApprovalBasicNotExistOrWrongStatus: "女神入站审批不存在或审批状态已更新,请刷新后重试!",
|
||||||
ErrCodeStreamerAuthApprovalDetailsSrvFail: "女神认证完善审批服务错误",
|
ErrCodeStreamerAuthApprovalDetailsSrvFail: "女神认证完善审批服务错误",
|
||||||
ErrCodeStreamerAuthApprovalDetailsNotExist: "女神认证完善审批不存在",
|
ErrCodeStreamerAuthApprovalDetailsNotExist: "女神认证完善审批不存在",
|
||||||
ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "请勿重复提交认证",
|
ErrCodeStreamerAuthApprovalDetailsDuplicateKey: "您已通过认证,请勿重复提交",
|
||||||
ErrCodeStreamerAuthApprovalDetailsInviterNotExist: "邀请人不存在",
|
ErrCodeStreamerAuthApprovalDetailsInviterNotExist: "邀请人不存在",
|
||||||
ErrCodeStreamerAuthApprovalDetailsInviterIsNotAStreamer: "邀请人非主播",
|
ErrCodeStreamerAuthApprovalDetailsInviterIsNotAStreamer: "邀请人非主播",
|
||||||
ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "所选完善审批中有人并非准主播,请刷新后重试",
|
ErrCodeStreamerAuthApprovalDetailsNotAStreamerToBe: "该主播尚未通过“网红入驻审核”,请先前往审核",
|
||||||
ErrCodeStreamerAuthApprovalDetailsNotInApprovingStatus: "所选完善审批中有项目状态错误,请刷新后重试",
|
ErrCodeStreamerAuthApprovalDetailsNotInApprovingStatus: "所选完善审批中有项目状态错误,请刷新后重试",
|
||||||
|
|
||||||
ErrCodeStreamerSrvFail: "主播服务错误",
|
ErrCodeStreamerSrvFail: "主播服务错误",
|
||||||
|
|
|
@ -2008,7 +2008,7 @@ func (s *Service) OpApproveStreamerAuthApprovalBasic(ctx *gin.Context, req *stre
|
||||||
for _, basic := range list {
|
for _, basic := range list {
|
||||||
mids = append(mids, basic.GetMid())
|
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 {
|
if err != nil {
|
||||||
logger.Error("_DefaultStreamerAuthApprovalDetails OpDeleteBatchByMids fail, req: %v, err: %v", util.ToJson(req), err)
|
logger.Error("_DefaultStreamerAuthApprovalDetails OpDeleteBatchByMids fail, req: %v, err: %v", util.ToJson(req), err)
|
||||||
ec = errcode.ErrCodeStreamerAuthApprovalDetailsSrvFail
|
ec = errcode.ErrCodeStreamerAuthApprovalDetailsSrvFail
|
||||||
|
|
Loading…
Reference in New Issue