Commit 458fd9fc authored by 耿迪迪's avatar 耿迪迪

工具类修改 gengdidi

parent 716a211e
...@@ -117,17 +117,9 @@ public class HttpUtil { ...@@ -117,17 +117,9 @@ public class HttpUtil {
return new Result(ResultEnum.FAIL.getCode(),jsonString); return new Result(ResultEnum.FAIL.getCode(),jsonString);
}finally { }finally {
if (response != null) { if (response != null) {
try { response.close();
response.close();
} catch (IOException e) {
e.printStackTrace();
}
}
try {
httpclient.close();
} catch (IOException e) {
e.printStackTrace();
} }
httpclient.close();
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment