|
@@ -240,7 +240,7 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam) (hasNextPage bool, total
|
|
logx.Info(spqp.UserId, "GetTodayCache Error", err)
|
|
logx.Info(spqp.UserId, "GetTodayCache Error", err)
|
|
}
|
|
}
|
|
if err != nil || subPush == nil || subPush.Date != nowFormat || len(subPush.Datas) == 0 {
|
|
if err != nil || subPush == nil || subPush.Date != nowFormat || len(subPush.Datas) == 0 {
|
|
- list, countSearch := s.getDatasFromMysql(spqp, starttime, endtime, spqp.PageSize, true)
|
|
|
|
|
|
+ list, countSearch := s.getDatasFromMysql(spqp, starttime, endtime, spqp.PageSize, false)
|
|
subPush = &SubPush{
|
|
subPush = &SubPush{
|
|
Date: nowFormat,
|
|
Date: nowFormat,
|
|
Datas: list,
|
|
Datas: list,
|