去掉江阴市城市传参

This commit is contained in:
sjshenjian
2024-10-22 15:29:57 +08:00
parent e23c1c01fb
commit c28f36a792
+1 -1
View File
@@ -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<JSONObject> apiResponse = JSONObject.parseObject(response, FangJiaApiResponse.class);
if (FangJiaApiResponse.ok().getStatus() == apiResponse.getStatus()) {
List<String> result = new ArrayList<>();