涉农调用改成100

This commit is contained in:
mjt
2024-05-10 14:20:09 +08:00
parent 74d3605a51
commit 4f159d7dd8
@@ -419,12 +419,10 @@ 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();
} }