feat:为ListByFollowing方法添加上redis缓存
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user