🐛 Try to fix cursor return last same content

This commit is contained in:
LittleSheep 2025-03-17 00:33:30 +08:00
parent 1b4d7822ed
commit 8e33b99bca

View File

@ -92,7 +92,7 @@ func getRecommendationFeed(c *fiber.Ctx) error {
var cursorTime *time.Time
if cursor > 0 {
cursorTime = lo.ToPtr(time.UnixMilli(int64(cursor)))
cursorTime = lo.ToPtr(time.UnixMilli(int64(cursor) + 1))
}
var userId *uint