by Robin at 20240717
This commit is contained in:
parent
30542411c4
commit
441433e65c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue