Pārlūkot izejas kodu

修复 业主委托项目

wcc 1 gadu atpakaļ
vecāks
revīzija
fadeee4033
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 2 0
      website_columns/column_test.go
  2. 1 1
      website_columns/main.go

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 2 - 0
website_columns/column_test.go


+ 1 - 1
website_columns/main.go

@@ -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{}{

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels