Sfoglia il codice sorgente

fix: 电白市爬取信息价问题

vian 1 anno fa
parent
commit
20e3fcc5aa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web/over_write/crawler/guangdong_2018_price_crawler.js

+ 1 - 1
web/over_write/crawler/guangdong_2018_price_crawler.js

@@ -277,7 +277,7 @@ async function getPriceInfoSource(token, period, city, county) {
     token,
     province,
     city,
-    county,
+    county: county === '电白区' ? '电白市' : county, // 造价通里叫电白市
     industry,
     // date: `${period}-05` // 天数05表示请求月度数据
   };