Skip to content

Commit f511f4b

Browse files
committed
Upgrade 2020-07-28 data.
1 parent 0ed16fa commit f511f4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
来自中华人民共和国民政部,用于查询中国省,市和区数据的网站。
99

10-
> ⚠️ 2020-03-30 新增一个街道,街道数据暂未更新
10+
> ⚠️ 2020-07-28县以上行政区划代码为发生变化,县以下区划发生变更(等待更新)
1111
12-
- [中华人民共和国行政区划代码,更新时间:2020-03-30](http://www.mca.gov.cn/article/sj/xzqh/2020/)
12+
- [中华人民共和国行政区划代码,更新时间:2020-07-28](http://www.mca.gov.cn/article/sj/xzqh/2020/)
1313
- [统计用区划和城乡划分代码,更新时间:2020-02-25](http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)
1414

1515
### 数据更新 Diff

script/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ exports.getProvinceCity = () => {
4848
return new Promise(async (resolve, reject) => {
4949
try {
5050
console.log('=> 获取省市区数据')
51-
const res = await request.get('http://www.mca.gov.cn/article/sj/xzqh/2020/2020/202003301019.html');
51+
const res = await request.get('http://www.mca.gov.cn///article/sj/xzqh/2020/2020/2020072805001.html');
5252
if (!res || !res.text) return resolve([]);
5353
const $ = cheerio.load(res.text);
5454
const data = [];

0 commit comments

Comments
 (0)