Merge pull request 'by Robin at 20240911; vdmdbug' (#726) from BUG-20240911-vd into main
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/726
This commit is contained in:
commit
062f6473ac
|
@ -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