update
This commit is contained in:
@ -58,8 +58,12 @@ func (q ArticleQuery) Offset() int { return (q.Page - 1) * q.Size }
|
||||
|
||||
// ---------- 响应 ----------
|
||||
|
||||
// PublicArticleImage 对外展示用的图片结构(仅 url + 名称)。
|
||||
// PublicArticleImage 对外展示用的图片结构。
|
||||
//
|
||||
// ID 是图片自身的编码 id(hashid,i=走秀单图 / j=街拍单图),供「单图收藏」定位到具体某一张;
|
||||
// 此前只有 image + name,前端无法稳定标识单张图片,故补充该字段。
|
||||
type PublicArticleImage struct {
|
||||
ID string `json:"id"`
|
||||
Image string `json:"image"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user