wcc 5 days ago
parent
commit
1160e7e111
2 changed files with 1 additions and 1 deletions
  1. 1 1
      yusuan_oss/main.go
  2. BIN
      yusuan_oss/yusuan_oss_inc

+ 1 - 1
yusuan_oss/main.go

@@ -131,7 +131,7 @@ func incData() {
 	Yesterday := time.Date(now.Year(), now.Month(), now.Day()-1, 0, 0, 0, 0, time.Local)
 	where := map[string]interface{}{
 		"updatetime": map[string]interface{}{
-			"$lte": Yesterday.Unix(),
+			"$gte": Yesterday.Unix(),
 		},
 	}
 	query := sess.DB(GF.MongoB.DB).C(GF.MongoB.Coll).Find(where).Select(nil).Iter()

BIN
yusuan_oss/yusuan_oss_inc