Merge pull request '1' (#811) from BUG-20241119 into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/811
This commit is contained in:
commit
b88cbe764e
|
@ -3598,6 +3598,8 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
|
||||||
ec = errcode.ErrCodeMomentSrvFail
|
ec = errcode.ErrCodeMomentSrvFail
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Info("moment length: %v", len(moments))
|
||||||
momentIds := make([]int64, 0)
|
momentIds := make([]int64, 0)
|
||||||
momentMp := make(map[string]*dbstruct.Moment)
|
momentMp := make(map[string]*dbstruct.Moment)
|
||||||
mids := make([]int64, 0)
|
mids := make([]int64, 0)
|
||||||
|
@ -3612,6 +3614,7 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Info("momentIds: %v", momentIds)
|
||||||
list, err := _DefaultMomentAuditTask.GetByMomentIds(ctx, momentIds)
|
list, err := _DefaultMomentAuditTask.GetByMomentIds(ctx, momentIds)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("OpGetMomentAuditTaskListByIds fail, req: %v, err: %v", util.ToJson(req), err)
|
logger.Error("OpGetMomentAuditTaskListByIds fail, req: %v, err: %v", util.ToJson(req), err)
|
||||||
|
@ -3619,6 +3622,7 @@ func (s *Service) OpGetMomentAuditTaskList(ctx *gin.Context, req *moment_audit_t
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
volist = make([]*moment_audit_taskproto.MomentAuditTaskVO, len(list))
|
volist = make([]*moment_audit_taskproto.MomentAuditTaskVO, len(list))
|
||||||
|
logger.Info("list length: %v", len(list))
|
||||||
|
|
||||||
// 收集图像和文字审核的id,分别查询出图像和文字审核的任务
|
// 收集图像和文字审核的id,分别查询出图像和文字审核的任务
|
||||||
imageAuditTaskIds := make([]string, 0)
|
imageAuditTaskIds := make([]string, 0)
|
||||||
|
|
Loading…
Reference in New Issue