This commit is contained in:
toom1996
2026-09-28 10:52:50 +08:00
parent aaeab41d67
commit d15d2a4701
42 changed files with 19884 additions and 337 deletions

View File

@ -0,0 +1,10 @@
package dto
// DupSource 编辑页反查的「重复来源」上下文:某张被标记为重复的图所指向的源图,
// 及其所属走秀/街拍(对外统称"文章")的基本信息,供编辑员核对重复归属。
type DupSource struct {
Image string // 源图存储值(S4 key / 相对路径 / 外链),由模板经 imgURL 拼成可访问 URL
RecordID uint32 // 源图所属走秀/街拍的数字主键
Title string // 源图所属记录的标题(英文优先,回落中文)
Brand string // 源图所属走秀的品牌名(街拍无品牌关联,为空)
}

View File

@ -28,6 +28,7 @@ type RunwayIngest struct {
Season string `json:"season"` // spring / fall
CollectionType string `json:"collection_type"` // rtw / menswear / couture / resort / pre_fall
City string `json:"city"` // 地区/城市(street 用)
PublishedAt uint32 `json:"published_at"` // Vogue 详情页 datePublished 的 Unix 时间戳(秒);0=未抽取。标题缺年份时用于矫正 year
Images []string `json:"images"` // 兼容旧 worker:铺平的主图 URL 列表(无细节分组时回退用)
// Looks 结构化「主图 + 细节图」分组(Vogue 一个 gallery item = 1 主图 + N 细节图)。
// 爬虫结构化上报时优先用 Looks;为空时 worker 回退到 Images(全部视为主图,无细节)。