|
@@ -274,6 +274,8 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam) (hasNextPage bool, total
|
|
|
}
|
|
|
if start < length {
|
|
|
result = subPush.Datas[start:end]
|
|
|
+ } else {
|
|
|
+ result = subPush.Datas
|
|
|
}
|
|
|
total = int64(length)
|
|
|
//全部,没有过滤条件 之前缓存500
|
|
@@ -310,6 +312,8 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam) (hasNextPage bool, total
|
|
|
}
|
|
|
if start < length {
|
|
|
result = allCache.Datas[start:end]
|
|
|
+ } else {
|
|
|
+ result = allCache.Datas
|
|
|
}
|
|
|
total = allCache.Count
|
|
|
} else {
|