body().string

master
admin 2 years ago
parent 670b578198
commit 664c053e5b

@ -248,7 +248,7 @@ public class IdcServiceImpl implements IdcService {
try {
boolean success=true;
Response response = client.newCall(request).execute();
result = response.body().toString();
result = response.body().string();
JSONObject json = JSONObject.parseObject(result);
if(isLastLevel()) {
success = analyToDB(json,files);
@ -282,7 +282,7 @@ public class IdcServiceImpl implements IdcService {
String result = "";
try {
Response response = client.newCall(request).execute();
result = response.body().toString();
result = response.body().string();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();

Loading…
Cancel
Save