Merge pull request 'by Robin at 20240717' (#621) from feat-IRONFANS-148-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/621
This commit is contained in:
commit
e2ee45e1d1
|
@ -1173,6 +1173,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