by Robin at 20240731
This commit is contained in:
parent
dbda736b5d
commit
70febfc421
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue