conflict #153

Merged
chenhao merged 11 commits from conflict into test 2024-02-29 10:57:49 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 757739b646 - Show all commits

View File

@ -60,7 +60,7 @@ func (s *Service) CreateUpdateStreamerImageAudit(ctx *gin.Context, oldStreamer *
func (s *Service) CreateMomentImageAudit(ctx *gin.Context, newMoment *dbstruct.Moment) (tasks []*dbstruct.ImageAuditTask) { func (s *Service) CreateMomentImageAudit(ctx *gin.Context, newMoment *dbstruct.Moment) (tasks []*dbstruct.ImageAuditTask) {
if newMoment.MediaComp != nil && newMoment.MediaComp.ImageIds != nil { if newMoment.MediaComp != nil && len(newMoment.MediaComp.GetImageIds()) > 0 {
tasks = append(tasks, &dbstruct.ImageAuditTask{ tasks = append(tasks, &dbstruct.ImageAuditTask{
RouteUrl: goproto.String(ctx.Request.URL.Path), RouteUrl: goproto.String(ctx.Request.URL.Path),
AssociativeDatabase: goproto.String("moment"), AssociativeDatabase: goproto.String("moment"),