This commit is contained in:
parent
bed1313e84
commit
81d0858aad
|
@ -833,6 +833,10 @@ func (s *Service) utilGetStreamerRecommListVO(ctx *gin.Context, recommlist []int
|
||||||
return make([]*streamerproto.ApiListExtVO, 0), nil
|
return make([]*streamerproto.ApiListExtVO, 0), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if consts.StreamerRecommThroughput > recommListLength {
|
||||||
|
upperBound = consts.StreamerRecommThroughput
|
||||||
|
}
|
||||||
|
|
||||||
// 根据用户游标查询得到结果
|
// 根据用户游标查询得到结果
|
||||||
midList := make([]int64, 0)
|
midList := make([]int64, 0)
|
||||||
for i := 0; i < upperBound; i++ {
|
for i := 0; i < upperBound; i++ {
|
||||||
|
|
Loading…
Reference in New Issue