From 70febfc4217f7cdcab5f7a4ed30d079e1e8c6715 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 31 Jul 2024 16:08:51 +0800 Subject: [PATCH] by Robin at 20240731 --- app/mix/service/imageauditservice.go | 2 ++ app/mix/service/textauditservice.go | 3 +++ app/mix/service/video_moderation_service.go | 1 + 3 files changed, 6 insertions(+) diff --git a/app/mix/service/imageauditservice.go b/app/mix/service/imageauditservice.go index 8a0a70ed..a106cf7b 100644 --- a/app/mix/service/imageauditservice.go +++ b/app/mix/service/imageauditservice.go @@ -119,6 +119,7 @@ func (s *Service) CreateStreamerAuthApprovalDetailsImageAudit(ctx *gin.Context, if newStreamerAuthApprovalDetails.Cover != nil && len(newStreamerAuthApprovalDetails.Cover.GetImageIds()) > 0 { tasks = append(tasks, &dbstruct.ImageAuditTask{ + Mid: newStreamerAuthApprovalDetails.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("streamer_auth_approval_details"), AssociativeTableName: goproto.String("streamer_auth_approval_details"), @@ -132,6 +133,7 @@ func (s *Service) CreateStreamerAuthApprovalDetailsImageAudit(ctx *gin.Context, if newStreamerAuthApprovalDetails.Album != nil && len(newStreamerAuthApprovalDetails.Album.GetImageIds()) > 0 { tasks = append(tasks, &dbstruct.ImageAuditTask{ + Mid: newStreamerAuthApprovalDetails.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("streamer_auth_approval_details"), AssociativeTableName: goproto.String("streamer_auth_approval_details"), diff --git a/app/mix/service/textauditservice.go b/app/mix/service/textauditservice.go index 14201ff8..4f5f037f 100644 --- a/app/mix/service/textauditservice.go +++ b/app/mix/service/textauditservice.go @@ -121,6 +121,7 @@ func (s *Service) CreateStreamerAuthApprovalDetailsTextAudit(ctx *gin.Context, n if newStreamerAuthApprovalDetails.Bio != nil { tasks = append(tasks, &dbstruct.TextAuditTask{ + Mid: newStreamerAuthApprovalDetails.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("streamer_auth_approval_details"), AssociativeTableName: goproto.String("streamer_auth_approval_details"), @@ -134,6 +135,7 @@ func (s *Service) CreateStreamerAuthApprovalDetailsTextAudit(ctx *gin.Context, n if newStreamerAuthApprovalDetails.AutoResponseMessage != nil { tasks = append(tasks, &dbstruct.TextAuditTask{ + Mid: newStreamerAuthApprovalDetails.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("streamer_auth_approval_details"), AssociativeTableName: goproto.String("streamer_auth_approval_details"), @@ -155,6 +157,7 @@ func (s *Service) CreateZoneTextAudit(ctx *gin.Context, newZone *dbstruct.Zone) if newZone.Profile != nil { tasks = append(tasks, &dbstruct.TextAuditTask{ + Mid: newZone.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("zone"), AssociativeTableName: goproto.String("zone"), diff --git a/app/mix/service/video_moderation_service.go b/app/mix/service/video_moderation_service.go index 01790a3c..dfd0d90a 100644 --- a/app/mix/service/video_moderation_service.go +++ b/app/mix/service/video_moderation_service.go @@ -79,6 +79,7 @@ func (s *Service) CreateStreamerAuthApprovalDetailsVideoModeration(ctx *gin.Cont if newStreamerAuthApprovalDetails.Shorts != nil && len(newStreamerAuthApprovalDetails.Shorts.GetVideoIds()) > 0 { tasks = append(tasks, &dbstruct.VideoModerationTask{ + Mid: newStreamerAuthApprovalDetails.Mid, RouteUrl: goproto.String(ctx.Request.URL.Path), AssociativeDatabase: goproto.String("streamer_auth_approval_details"), AssociativeTableName: goproto.String("streamer_auth_approval_details"),