|
|
|
@ -120,10 +120,12 @@ public class HttpsUtils { |
|
|
|
|
if (entity != null) { |
|
|
|
|
InputStream instream = entity.getContent(); |
|
|
|
|
result = IOUtils.toString(instream, "UTF-8"); |
|
|
|
|
instream.close(); |
|
|
|
|
} |
|
|
|
|
return JSON.parseObject(result); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error(e.getMessage(),e); |
|
|
|
|
} finally { |
|
|
|
|
} |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|