|
@@ -59,7 +59,7 @@ func dealBidding() {
|
|
|
now := time.Now()
|
|
|
ctx, _ := context.WithTimeout(context.Background(), 99999*time.Hour)
|
|
|
coll := sess.M.C.Database(GF.MongoB.DB).Collection(GF.MongoB.Coll)
|
|
|
- find := options.Find().SetBatchSize(1000).SetSort(bson.D{bson.E{"comeintime", 1}}).SetProjection(bson.M{"comeintime": 1, "toptype": 1, "subtype": 1, "buyerclass": 1, "title": 1, "detail": 1, "package": 1, "funds": 1})
|
|
|
+ find := options.Find().SetBatchSize(1000).SetSort(bson.D{bson.E{"comeintime", 1}}).SetProjection(bson.M{"comeintime": 1, "toptype": 1, "subtype": 1, "buyerclass": 1, "title": 1, "detail": 1, "package": 1, "funds": 1, "spidercode": 1})
|
|
|
if startTime != 0 && GF.Cron.End != 0 {
|
|
|
q = map[string]interface{}{
|
|
|
"comeintime": map[string]interface{}{
|