|
@@ -267,7 +267,7 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam) (hasNextPage bool, total
|
|
result = subPush.Datas[start:end]
|
|
result = subPush.Datas[start:end]
|
|
}
|
|
}
|
|
total = int64(length)
|
|
total = int64(length)
|
|
- } else if spqp.IsEmpty() && (spqp.PageNum-1)*spqp.PageSize <= 250 { //全部,没有过滤条件 之前缓存5页*50条=250
|
|
|
|
|
|
+ } else if spqp.IsEmpty() && (spqp.PageNum-1)*spqp.PageSize < 250 { //全部,没有过滤条件 之前缓存5页*50条=250
|
|
logx.Info("a2:", s.allKey(spqp.UserId))
|
|
logx.Info("a2:", s.allKey(spqp.UserId))
|
|
allCache := &SubPush{}
|
|
allCache := &SubPush{}
|
|
var err error
|
|
var err error
|