添加状态

This commit is contained in:
2026-05-07 09:07:20 +08:00
parent a1a259733d
commit 3ced686cb5
9 changed files with 54 additions and 0 deletions

View File

@@ -194,6 +194,8 @@ func (s *audioService) savePageData(ctx context.Context, data *audioResponse) (i
ExpireTime: item.ExpireTime,
FeelTags: string(feelTagsJSON),
GenreTags: string(genreTagsJSON),
// 设置默认校验状态为待校验
VerifyStatus: "PENDING",
}
items = append(items, audio)

View File

@@ -283,6 +283,8 @@ func (s *imageService) savePageData(ctx context.Context, data *imageResponse, ac
}
// 设置 TenantID框架将0视为空值所以使用1
image.TenantId = 1
// 设置默认校验状态为待校验
image.VerifyStatus = "PENDING"
items = append(items, image)
}

View File

@@ -322,6 +322,8 @@ func (s *videoService) savePageData(ctx context.Context, data *videoResponse, ac
}
// 设置 TenantID框架将0视为空值所以使用1
video.TenantId = 1
// 设置默认校验状态为待校验
video.VerifyStatus = "PENDING"
items = append(items, video)
}