update backend
This commit is contained in:
@ -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)互不冲突,因此同一数字主键在图集与图片下得到不同编码串,
|
||||
|
||||
Reference in New Issue
Block a user