update
This commit is contained in:
10
internal/dto/dup_source.go
Normal file
10
internal/dto/dup_source.go
Normal file
@ -0,0 +1,10 @@
|
||||
package dto
|
||||
|
||||
// DupSource 编辑页反查的「重复来源」上下文:某张被标记为重复的图所指向的源图,
|
||||
// 及其所属走秀/街拍(对外统称"文章")的基本信息,供编辑员核对重复归属。
|
||||
type DupSource struct {
|
||||
Image string // 源图存储值(S4 key / 相对路径 / 外链),由模板经 imgURL 拼成可访问 URL
|
||||
RecordID uint32 // 源图所属走秀/街拍的数字主键
|
||||
Title string // 源图所属记录的标题(英文优先,回落中文)
|
||||
Brand string // 源图所属走秀的品牌名(街拍无品牌关联,为空)
|
||||
}
|
||||
@ -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(全部视为主图,无细节)。
|
||||
|
||||
Reference in New Issue
Block a user