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:
chenhao 2024-11-20 17:05:10 +08:00
commit b88cbe764e
1 changed files with 4 additions and 0 deletions

View File

@ -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)