diff --git a/backend/internal/feed/entity.go b/backend/internal/feed/entity.go index ad3210f..f24e721 100644 --- a/backend/internal/feed/entity.go +++ b/backend/internal/feed/entity.go @@ -1,7 +1,5 @@ package feed -import "time" - type FeedAuthor struct { ID uint `json:"id"` Username string `json:"username"` @@ -79,10 +77,4 @@ type ListByPopularityResponse struct { // SnapshotRebuilt 为 true 表示服务端刚重建过快照(原来的过期或被驱逐), // 这一页可能与上一页重叠:客户端应当从 offset 0 重来。 SnapshotRebuilt bool `json:"snapshot_rebuilt"` - - // Deprecated: 旧版用 DB 的 (popularity, create_time, id) 游标继续翻页。 - // 那套游标与 ZSET 的排名无关(N7),服务端已不再读取,字段仅为兼容保留。 - NextLatestPopularity *int64 `json:"next_latest_popularity,omitempty"` - NextLatestBefore *time.Time `json:"next_latest_before,omitempty"` - NextLatestIDBefore *uint `json:"next_latest_id_before,omitempty"` }