by Robin at 20240911; vdmdbug #726
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue