@@ -414,7 +414,7 @@ func (s *subscribePush) inactiveQuery(spqp *SubPushQueryParam, bsp *ViewConditio
list = elastic.Get("bidding", "bidding", fmt.Sprintf(query, strings.Join(spqp.SelectInfoIds, `","`), len(spqp.SelectInfoIds)))
count = gconv.Int64(len(*list))
} else {
- if len(bsp.Keyword) == 0 {
+ if len(bsp.Keyword) == 0 || spqp.PageNum*spqp.PageSize > 500 {
return []*bxsubscribe.SubscribeInfo{}, int64(0)
}
//通过条件查询