update
This commit is contained in:
@ -29,8 +29,11 @@ func NewSSG(opt Options) *gin.Engine {
|
||||
|
||||
ssg := r.Group("/api/v1/ssg")
|
||||
{
|
||||
ssg.GET("/brands/hot", opt.SSG.HotBrands) // 走秀页热门品牌(前 30,热度顺序)
|
||||
ssg.GET("/index/runway", opt.SSG.IndexRunway) // 首页(/index/)runway 区块:多模块,当前含 hotBrand
|
||||
ssg.GET("/brands/hot", opt.SSG.HotBrands) // 走秀页热门品牌(前 30,热度顺序)
|
||||
ssg.GET("/index/runway", opt.SSG.IndexRunway) // 首页(/index/)runway 区块:多模块,当前含 hotBrand
|
||||
ssg.GET("/street-snaps/popular", opt.SSG.StreetSnapPopular) // 首页热门街拍(按图片数前 20)
|
||||
// 注:/street-snaps/ids(全部街拍编码 id 枚举)已移除——街拍详情页走 /item/[id] 按需 SSR,
|
||||
// 无需构建期枚举 id。handler/service/repository 对应实现已一并删除。
|
||||
}
|
||||
|
||||
return r
|
||||
|
||||
Reference in New Issue
Block a user