Browse Source

资源定时任务

WH01243 1 year ago
parent
commit
d09e5bd398
1 changed files with 2 additions and 3 deletions
  1. 2 3
      resourceBrushLibrary/entity/order.go

+ 2 - 3
resourceBrushLibrary/entity/order.go

@@ -31,8 +31,7 @@ func OrderResourceRun(now time.Time, end int64) {
 	sess := Mgo_qfw.GetMgoConn()
 	defer Mgo_qfw.DestoryMongoConn(sess)
 	it := sess.DB("qfw").C("user").Find(map[string]interface{}{
-		"s_phone": "13100550038",
-		/*"i_appid": 2,
+		"i_appid": 2,
 		"i_vip_status": map[string]interface{}{
 			"$gt": 0,
 		},
@@ -47,7 +46,7 @@ func OrderResourceRun(now time.Time, end int64) {
 					"$exists": 0,
 				},
 			},
-		},*/
+		},
 	}).Select(map[string]interface{}{
 		"_id":              1,
 		"l_vip_endtime":    1,