优化
This commit is contained in:
@@ -99,7 +99,7 @@ public class DivisionBatchTest {
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
}
|
||||
String response = restTemplate.getForObject("http://" + IP + "/FangJiaAddressService/fiveDivisionStructure?city={city}&address={address}", String.class, city, address);
|
||||
String response = restTemplate.getForObject("http://" + IP + "/FangJiaAddressService/divisionStructure?city={city}&address={address}", String.class, city, address);
|
||||
FangJiaApiResponse<JSONObject> apiResponse = JSONObject.parseObject(response, FangJiaApiResponse.class);
|
||||
try {
|
||||
if (FangJiaApiResponse.ok().getStatus() == apiResponse.getStatus()) {
|
||||
|
||||
Reference in New Issue
Block a user