This commit is contained in:
parent
067de8dcc4
commit
4d24482f25
app/mix/service
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue