Merge pull request 'by Robin at 20240226;' (#136) from feat-20240117-001-Robin into test

Reviewed-on: #136
This commit is contained in:
chenhao 2024-02-26 09:08:18 +08:00
commit 0c80c91fba
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ func (s *CronService) ImageAuditBatchHis(ctx context.Context, param *xxl.RunReq)
logger.Info("task %v param: %v log_id: %v", param.ExecutorHandler, param.ExecutorParams, xxl.Int64ToStr(param.LogID))
handleMsg := &strings.Builder{}
// 刷新批次号
batchId := imageaudit.RefreshBatchId()
batchId := param.ExecutorParams
// 执行图像审核
successNum, failNum, err := imageaudit.Run(batchId)
if err != nil {
@ -210,7 +210,7 @@ func (s *CronService) TextAuditBatchHis(ctx context.Context, param *xxl.RunReq)
handleMsg := &strings.Builder{}
// 刷新批次号
batchId := textaudit.RefreshBatchId()
batchId := param.ExecutorParams
// 执行文字审核
successNum, failNum, err := textaudit.Run(batchId)
if err != nil {