diff --git a/app/mix/service/apiservice.go b/app/mix/service/apiservice.go index 24b53158..4441c0dd 100644 --- a/app/mix/service/apiservice.go +++ b/app/mix/service/apiservice.go @@ -1167,6 +1167,21 @@ func (s *Service) ApiCreateStreamerAuthApprovalDetails(ctx *gin.Context, req *st } req.StreamerAuthApprovalDetails.Mid = goproto.Int64(req.BaseRequest.Mid) + + initAuditComp := &dbstruct.AuditComponent{ + AuditStatus: goproto.Int64(consts.ImageAudit_Created), + AuditOpinion: goproto.String("机审中"), + } + req.StreamerAuthApprovalDetails.CoverAudit = initAuditComp + req.StreamerAuthApprovalDetails.AlbumAudit = initAuditComp + + initAuditComp.AuditStatus = goproto.Int64(consts.TextAudit_Created) + req.StreamerAuthApprovalDetails.BioAudit = initAuditComp + req.StreamerAuthApprovalDetails.AutoResponseMessageAudit = initAuditComp + + initAuditComp.AuditStatus = goproto.Int64(consts.VideoModeration_Created) + req.StreamerAuthApprovalDetails.ShortsAudit = initAuditComp + err := _DefaultStreamerAuthApprovalDetails.OpCreate(ctx, &streamerauthapprovaldetailsproto.OpCreateReq{ BaseRequest: req.BaseRequest, StreamerAuthApprovalDetails: req.StreamerAuthApprovalDetails,