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

@ -2,8 +2,8 @@ package dto
// ---------- 浏览历史 ----------
// HistoryItem 对外返回的浏览历史项:id 即 target_uid(带 r=/s= 前缀的对外编码串)。
// 前端据此判断类型(s= 街拍,其余走秀)并回查公开详情接口取标题/封面用于渲染。
// HistoryItem 对外返回的浏览历史项:id 即 target_uid(类型进密码、无前缀的对外编码串,
// 见 hashid.EncodeWithType)。类型由类型化路由 / 存储 type 区分,前端回查公开详情接口取标题/封面用于渲染。
type HistoryItem struct {
ID string `json:"id"`
ViewedAt uint32 `json:"viewed_at"`