|
|
@ -249,7 +249,7 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
boolean success=true;
|
|
|
|
boolean success=true;
|
|
|
|
Response response = client.newCall(request).execute();
|
|
|
|
Response response = client.newCall(request).execute();
|
|
|
|
result = response.body().toString();
|
|
|
|
result = response.body().string();
|
|
|
|
logger.info("fetchData-->"+result);
|
|
|
|
logger.info("fetchData-->"+result);
|
|
|
|
JSONObject json = JSONObject.parseObject(result);
|
|
|
|
JSONObject json = JSONObject.parseObject(result);
|
|
|
|
if(isLastLevel()) {
|
|
|
|
if(isLastLevel()) {
|
|
|
@ -287,7 +287,8 @@ public class IdcServiceImpl implements IdcService {
|
|
|
|
String result = "";
|
|
|
|
String result = "";
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
Response response = client.newCall(request).execute();
|
|
|
|
Response response = client.newCall(request).execute();
|
|
|
|
result = response.body().toString();
|
|
|
|
result = response.body().string();
|
|
|
|
|
|
|
|
logger.info("post-result-->"+result);
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
// TODO Auto-generated catch block
|
|
|
|
// TODO Auto-generated catch block
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|