From c28f36a792286ade03c2651355b987d595b73440 Mon Sep 17 00:00:00 2001 From: sjshenjian Date: Tue, 22 Oct 2024 15:29:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=B1=9F=E9=98=B4=E5=B8=82?= =?UTF-8?q?=E5=9F=8E=E5=B8=82=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BatchTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BatchTest.java b/src/BatchTest.java index 098115b..0a591e3 100644 --- a/src/BatchTest.java +++ b/src/BatchTest.java @@ -69,7 +69,7 @@ public class BatchTest { final String address = addressTemp; executorService.submit(() -> { try { - String response = restTemplate.getForObject("http://" + ip + "/FangJiaAddressService/fiveDivisionStructure?address={address}&type={type}&city=江阴市", String.class, address, type); + String response = restTemplate.getForObject("http://" + ip + "/FangJiaAddressService/fiveDivisionStructure?address={address}&type={type}", String.class, address, type); FangJiaApiResponse apiResponse = JSONObject.parseObject(response, FangJiaApiResponse.class); if (FangJiaApiResponse.ok().getStatus() == apiResponse.getStatus()) { List result = new ArrayList<>();