refactor(publish): 审核侧切到正式表,通过即改状态不再晋升

This commit is contained in:
toom1996
2026-09-23 11:09:12 +08:00
parent e0ce81318d
commit 76626b8372
19 changed files with 423 additions and 775 deletions

View File

@ -132,4 +132,7 @@ type AdminRunway struct {
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"`
// Status 审核态(pending / published / rejected),供后台列表展示状态列。
// 后台专用 DTO,不外泄到公开接口。
Status string `json:"status"`
}

View File

@ -58,6 +58,11 @@ type PublicStreetSnap struct {
Cover string `json:"cover"`
ImageCount uint16 `json:"image_count"` // 该街拍图片总数(卡片 "N+" 角标用)
Images []PublicArticleImage `json:"images"` // 列表附带的每篇前 N 张缩略图
// Status 审核态(pending / published / rejected)。
// 后台街拍列表复用本 DTO 渲染状态列,但公开列表接口**不返回**它:
// json:"-" 保证公开 API 响应结构与既有约定一致。
Status string `json:"-"`
}
// PublicStreetSnapDetail 对外只读街拍详情:与走秀详情同形(主图 + 细节图)。