소스 검색

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

vian 1 년 전
부모
커밋
20e3fcc5aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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表示请求月度数据
   };