update
This commit is contained in:
@ -80,6 +80,7 @@ type PublicArticleImage struct {
|
||||
Name string `json:"name"`
|
||||
IsDetail uint8 `json:"is_detail"` // 0=主图 1=细节图(详情接口 images 仅含主图;细节在 Details 分组)
|
||||
LookIndex uint32 `json:"look_index"` // 细节图归属的主图序号(用于前端分组展开)
|
||||
Favorited bool `json:"favorited,omitempty"` // 已登录时该图片是否被当前用户收藏(image 级)
|
||||
}
|
||||
|
||||
// RunwayLookDetails 某个主图(look)对应的细节图集合,供详情页「细节入口」按需展开。
|
||||
@ -117,6 +118,7 @@ type PublicArticleDetail struct {
|
||||
BrandName string `json:"brand_name"`
|
||||
Images []PublicArticleImage `json:"images"` // 仅主图(look 图),默认展示
|
||||
Details []RunwayLookDetails `json:"details"` // 按主图分组的细节图(「细节入口」展开用);无细节时为空
|
||||
Favorited bool `json:"favorited,omitempty"` // 已登录时该图集是否被当前用户收藏(gallery 级,r= 前缀)
|
||||
}
|
||||
|
||||
// AdminRunway 后台管理用的走秀列表项:在 PublicArticle 基础上补回管理字段,
|
||||
|
||||
Reference in New Issue
Block a user