conflict-test-feat-20240117-001 #88

Merged
chenhao merged 12 commits from conflict-test-feat-20240117-001 into test 2024-02-02 07:44:18 +08:00
1 changed files with 13 additions and 0 deletions
Showing only changes of commit 91c6864787 - Show all commits

View File

@ -1580,6 +1580,13 @@ func (s *Service) ApiCreateMoment(ctx *gin.Context, req *momentproto.ApiCreateRe
ec = errcode.ErrCodeMomentSrvFail ec = errcode.ErrCodeMomentSrvFail
return return
} }
// 添加审核任务
imageaudittasks := s.CreateMomentImageAudit(ctx, req.Moment)
textaudittasks := s.CreateMomentTextAudit(ctx, req.Moment)
imageaudit.AddTasks(imageaudittasks)
textaudit.AddTasks(textaudittasks)
return return
} }
@ -1605,6 +1612,12 @@ func (s *Service) ApiUpdateMoment(ctx *gin.Context, req *momentproto.ApiUpdateRe
ec = errcode.ErrCodeMomentSrvFail ec = errcode.ErrCodeMomentSrvFail
return return
} }
// 添加审核任务
imageaudittasks := s.CreateMomentImageAudit(ctx, req.Moment)
textaudittasks := s.CreateMomentTextAudit(ctx, req.Moment)
imageaudit.AddTasks(imageaudittasks)
textaudit.AddTasks(textaudittasks)
return return
} }