Преглед изворни кода

首页存redis问题处理

WH01243 пре 2 година
родитељ
комит
c70bf1bbad
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      jyBXSubscribe/rpc/model/push.go

+ 1 - 1
jyBXSubscribe/rpc/model/push.go

@@ -363,7 +363,7 @@ func (s *subscribePush) Datas(spqp *SubPushQueryParam) (hasNextPage bool, total
 				Datas: list,
 				Count: countSearch,
 			}
-			if spqp.IsEnt == false {
+			if spqp.IsEnt == false && spqp.NotReturnCount == 0 {
 				s.PutAllCache(spqp.UserId, spqp.UserType, allCache)
 			}
 		}