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