瀏覽代碼

首页存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)
 			}
 		}