update backend

This commit is contained in:
toom1996
2026-09-20 01:06:13 +08:00
parent f7ae917603
commit b99dc3dca1
115 changed files with 24732 additions and 10842 deletions

View File

@ -198,8 +198,8 @@ func DecodeWithType(s string, typ byte) (uint32, error) {
//
// 前端按类型化路由(/runway-looks、/street-snaps)或存储 type 分流,后端按路由 typ 调 DecodeWithType。
const (
TypeRunway = 'r' // 走秀 / 文章 lookbook(brand_runway 表)
TypeSnap = 's' // 街拍(street_snap 表)
TypeRunway = 'r' // 走秀 / 文章 lookbook(brand_runways 表)
TypeSnap = 's' // 街拍(street_snaps 表)
// 图片级前缀:单张图片也要有对外标识(图片收藏用)。
// 与图集前缀(r/s)互不冲突,因此同一数字主键在图集与图片下得到不同编码串,