This commit is contained in:
Leufolium 2024-03-08 15:21:52 +08:00
parent bed1313e84
commit 81d0858aad
1 changed files with 4 additions and 0 deletions

View File

@ -833,6 +833,10 @@ func (s *Service) utilGetStreamerRecommListVO(ctx *gin.Context, recommlist []int
return make([]*streamerproto.ApiListExtVO, 0), nil
}
if consts.StreamerRecommThroughput > recommListLength {
upperBound = consts.StreamerRecommThroughput
}
// 根据用户游标查询得到结果
midList := make([]int64, 0)
for i := 0; i < upperBound; i++ {