This commit is contained in:
Leufolium 2024-11-20 17:04:43 +08:00
parent 067de8dcc4
commit 4d24482f25
1 changed files with 4 additions and 0 deletions

View File

@ -3492,6 +3492,8 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
ec = errcode.ErrCodeMomentSrvFail
return
}
logger.Info("moment length: %v", len(moments))
momentIds := make([]int64, 0)
momentMp := make(map[string]*dbstruct.Moment)
mids := make([]int64, 0)
@ -3506,6 +3508,7 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
}
}
logger.Info("momentIds: %v", momentIds)
list, err := _DefaultMomentAuditTask.GetByMomentIds(ctx, momentIds)
if err != nil {
logger.Error("OpGetMomentAuditTaskListByIds fail, req: %v, err: %v", util.ToJson(req), err)
@ -3513,6 +3516,7 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
return
}
volist = make([]*moment_audit_taskproto.MomentAuditTaskVO, len(list))
logger.Info("list length: %v", len(list))
// 收集图像和文字审核的id分别查询出图像和文字审核的任务
imageAuditTaskIds := make([]string, 0)