Browse Source

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

vian 1 năm trước cách đây
mục cha
commit
20e3fcc5aa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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表示请求月度数据
   };