by Robin at 20240911; vdmdbug

This commit is contained in:
Leufolium 2024-09-11 11:00:47 +08:00
parent 53d01fb04d
commit 13716f6bad
2 changed files with 2 additions and 2 deletions

View File

@ -2290,7 +2290,7 @@ func (s *Service) ApiUpdateMoment(ctx *gin.Context, req *momentproto.ApiUpdateRe
momentAuditTask.ImageAuditTaskStatus = goproto.Int64(consts.MomentAudit_Created)
} else if len(videomoderationtasks) > 0 {
momentAuditTask.ImageAuditTaskId = videomoderationtasks[0].Id
momentAuditTask.AuditedMedia = imageaudittasks[0].AuditedMedia
momentAuditTask.AuditedMedia = videomoderationtasks[0].AuditedMedia
momentAuditTask.ImageAuditTaskStatus = goproto.Int64(consts.MomentAudit_Created)
} else { // 媒体内容未更新,默认设置为通过
momentAuditTask.ImageAuditTaskStatus = goproto.Int64(consts.MomentAudit_Passed)

View File

@ -1272,7 +1272,7 @@ func (s *Service) OpUpdateMoment(ctx *gin.Context, req *momentproto.OpUpdateReq)
momentAuditTask.AuditedMedia = imageaudittasks[0].AuditedMedia
} else if len(videomoderationtasks) > 0 {
momentAuditTask.ImageAuditTaskId = videomoderationtasks[0].Id
momentAuditTask.AuditedMedia = imageaudittasks[0].AuditedMedia
momentAuditTask.AuditedMedia = videomoderationtasks[0].AuditedMedia
}
if len(textaudittasks) > 0 {
momentAuditTask.AuditedText = textaudittasks[0].AuditedText