...
|
...
|
@@ -17,6 +17,12 @@ function getIsp(ip) { |
|
|
result.province = result.province.substr(0, len - 1);
|
|
|
}
|
|
|
|
|
|
if (_.endsWith(result.province, '市')) {
|
|
|
const len = result.region.length;
|
|
|
|
|
|
result.province = result.province.substr(0, len - 1);
|
|
|
}
|
|
|
|
|
|
for (let p of PROVINCE) {
|
|
|
if (result.province.split(p).length === 2) {
|
|
|
result.province = p;
|
...
|
...
|
|