Merge pull request 'feat-IRONFANS-58-Robin' (#166) from feat-IRONFANS-58-Robin into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/166
This commit is contained in:
chenhao 2024-03-08 15:22:51 +08:00
commit 11ddcd1c93
1 changed files with 4 additions and 0 deletions

View File

@ -933,6 +933,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++ {