From 4d24482f259e5835c2d5e89927d07fd050eafa27 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 20 Nov 2024 17:04:43 +0800 Subject: [PATCH] 1 --- app/mix/service/service.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/mix/service/service.go b/app/mix/service/service.go index 237a2f50..24252e95 100644 --- a/app/mix/service/service.go +++ b/app/mix/service/service.go @@ -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)