فهرست منبع

fix:删除log

duxin 2 سال پیش
والد
کامیت
1e6e12cc19
1فایلهای تغییر یافته به همراه0 افزوده شده و 50 حذف شده
  1. 0 50
      common/commonSearch.go

+ 0 - 50
common/commonSearch.go

@@ -56,56 +56,6 @@ func getAllKeywordArr(res []keyWordGroup) (rData []viewKeyWord) {
 	return
 }
 
-type T struct {
-	Aggregations struct {
-		WinnerAmountDistribution struct {
-			DocCountErrorUpperBound int `json:"doc_count_error_upper_bound"`
-			SumOtherDocCount        int `json:"sum_other_doc_count"`
-			Buckets                 []struct {
-				Key      string `json:"key"`
-				DocCount int    `json:"doc_count"`
-				Amount   struct {
-					Value float64 `json:"value"`
-				} `json:"amount"`
-			} `json:"buckets"`
-		} `json:"winner_amount_distribution"`
-		ProjectCount struct {
-			DocCount int `json:"doc_count"`
-		} `json:"project_count"`
-		ProjectAmount struct {
-			Value float64 `json:"value"`
-		} `json:"project_amount"`
-		ProjectCountNot0 struct {
-			DocCount int `json:"doc_count"`
-		} `json:"project_count_not0"`
-		BuyerclassScale struct {
-			DocCountErrorUpperBound int `json:"doc_count_error_upper_bound"`
-			SumOtherDocCount        int `json:"sum_other_doc_count"`
-			Buckets                 []struct {
-				Key              string `json:"key"`
-				DocCount         int    `json:"doc_count"`
-				BuyerclassAmount struct {
-					Value float64 `json:"value"`
-				} `json:"buyerclass_amount"`
-				BuyerclassTotal struct {
-					DocCount int `json:"doc_count"`
-				} `json:"buyerclass_total"`
-			} `json:"buckets"`
-		} `json:"buyerclass_scale"`
-		BuyerAmountDistribution struct {
-			DocCountErrorUpperBound int `json:"doc_count_error_upper_bound"`
-			SumOtherDocCount        int `json:"sum_other_doc_count"`
-			Buckets                 []struct {
-				Key      string `json:"key"`
-				DocCount int    `json:"doc_count"`
-				Amount   struct {
-					Value float64 `json:"value"`
-				} `json:"amount"`
-			} `json:"buckets"`
-		} `json:"buyer_amount_distribution"`
-	} `json:"aggregations"`
-}
-
 // getGroupKeywordArr 模糊拆分为多个精准匹配
 func getGroupKeywordArr(res []viewKeyWord) (rData []viewKeyWord) {
 	for _, kw := range res {