城乡编码映射完善
This commit is contained in:
+6
-3
@@ -386,7 +386,8 @@ public class AddrSvcController {
|
|||||||
put("121", "镇中心区");
|
put("121", "镇中心区");
|
||||||
put("122", "镇乡结合区");
|
put("122", "镇乡结合区");
|
||||||
put("123", "特殊区域");
|
put("123", "特殊区域");
|
||||||
put("210", "村庄");
|
put("210", "乡中心区");
|
||||||
|
put("220", "村庄");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -418,10 +419,12 @@ public class AddrSvcController {
|
|||||||
Integer radius = model.getRadius();
|
Integer radius = model.getRadius();
|
||||||
params.put("radius", (radius != null && radius != 0) ? radius.toString() : null);
|
params.put("radius", (radius != null && radius != 0) ? radius.toString() : null);
|
||||||
try {
|
try {
|
||||||
json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
// json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
||||||
|
json = request.getJsonContent("http://192.168.0.19:31080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
try {
|
try {
|
||||||
json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
// json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
||||||
|
json = request.getJsonContent("http://192.168.0.19:31080/FangJiaAddressService/villageIdentify", params, "UTF-8");
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -45,7 +45,8 @@ public class GdBankController {
|
|||||||
put("121", "镇中心区");
|
put("121", "镇中心区");
|
||||||
put("122", "镇乡结合区");
|
put("122", "镇乡结合区");
|
||||||
put("123", "特殊区域");
|
put("123", "特殊区域");
|
||||||
put("210", "村庄");
|
put("210", "乡中心区");
|
||||||
|
put("220", "村庄");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user