Browse Source

更新入 热门数据规则,修复热门标签bug

wcc 1 year ago
parent
commit
1d9d6300d7
1 changed files with 7 additions and 0 deletions
  1. 7 0
      website_columns/main.go

+ 7 - 0
website_columns/main.go

@@ -231,6 +231,13 @@ func getHot() {
 			if biddingData == nil {
 				continue
 			}
+
+			toptype := util.ObjToString(biddingData["toptype"])
+			//拟建和采购意向数据过滤
+			if toptype == "拟建" || toptype == "采购意向" {
+				continue
+			}
+
 			newCount++
 			insert := map[string]interface{}{
 				"bidding_id": k,