This commit is contained in:
toom1996
2026-09-07 00:01:48 +08:00
parent b049104a0b
commit 74ba700598
31 changed files with 1113 additions and 606 deletions

View File

@ -98,5 +98,21 @@ type PublicArticleDetail struct {
Description string `json:"description"`
Cover string `json:"cover"`
BrandName string `json:"brand_name"`
SourceURL string `json:"source_url"` // 采集来源链接(后台溯源用,对外无害)
Images []PublicArticleImage `json:"images"`
}
// AdminRunway 后台管理用的走秀列表项:在 PublicArticle 基础上补回管理字段,
// 供后台按季节 / 年份 / 系列筛选与展示(对外 PublicArticle 刻意不暴露这些元数据)。
type AdminRunway struct {
UID string `json:"id"` // 编码后的文章 id(无序串)
BrandUID string `json:"brand_id"` // 编码后的品牌 id(无序串)
BrandName string `json:"brand_name"` // JOIN brand 得到(优先 en)
Title string `json:"title"`
Year uint16 `json:"year"` // 年份(如 2024)
Season string `json:"season"` // spring / fall
CollectionType string `json:"collection_type"` // rtw / menswear / couture / resort / pre_fall
SeasonCode string `json:"season_code"` // SS26 / FW25 / RES26 / PF25
ImageCount uint16 `json:"image_count"`
SourceURL string `json:"source_url"` // 采集来源链接(去重 / 溯源用)
}