소스 검색

feat:判断移除

wangshan 3 년 전
부모
커밋
2425bdc26d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      jyBXSubscribe/rpc/util/push.go

+ 3 - 3
jyBXSubscribe/rpc/util/push.go

@@ -738,9 +738,9 @@ func (s *subscribePush) DefaultDatas(spqp *SubPushQueryParam) (hasNextPage bool,
 			now := time.Now()
 			for _, v := range *list {
 				redisKey := fmt.Sprintf("pushinfo_%s_%s", spqp.UserId, common.ObjToString(v["_id"]))
-				if isExists, _ := redis.Exists("pushcache_2_a", redisKey); isExists {
-					continue
-				}
+				//if isExists, _ := redis.Exists("pushcache_2_a", redisKey); isExists {
+				//	continue
+				//}
 				title := strings.Replace(common.ObjToString(v["title"]), "\n", "", -1)
 				var myInsert = make(map[string]interface{})
 				myInsert["userid"] = spqp.UserId