feat:为ListByFollowing方法添加上redis缓存

This commit is contained in:
Leon
2025-12-24 13:04:38 +08:00
parent f0411b4577
commit 94140c3c13
4 changed files with 41 additions and 7 deletions

View File

@@ -35,8 +35,8 @@ type ListLikesCountRequest struct {
}
type LikesCountCursor struct {
LikesCount int64
ID uint
LikesCount int64
ID uint
}
type ListLikesCountResponse struct {
@@ -47,7 +47,8 @@ type ListLikesCountResponse struct {
}
type ListByFollowingRequest struct {
Limit int `json:"limit"`
Limit int `json:"limit"`
LatestTime int64 `json:"latest_time"`
}
type ListByFollowingResponse struct {