wangchuanjin 1 жил өмнө
parent
commit
7c81edf4e9
1 өөрчлөгдсөн 1 нэмэгдсэн , 13 устгасан
  1. 1 13
      activeStartTip/main.go

+ 1 - 13
activeStartTip/main.go

@@ -26,19 +26,7 @@ func main() {
 			"$in": ToObjectIds(Config.TestIds),
 		}
 	} else {
-		unix := time.Now().AddDate(-1, 0, 0).Unix()
-		query["$or"] = []map[string]interface{}{
-			map[string]interface{}{
-				"$gt": map[string]interface{}{
-					"l_registedate": unix,
-				},
-			},
-			map[string]interface{}{
-				"$gt": map[string]interface{}{
-					"auto_updatetime": unix,
-				},
-			},
-		}
+		query["i_appid"] = 2
 	}
 	log.Println("start...", query)
 	it := sess.DB("qfw").C("user").Find(query).Select(map[string]interface{}{