chenjiahe
2022-04-11 bf409152cc3ec4cdad0ad92e9378060b054c3328
修改请求方法类
1个文件已修改
2 ■■■ 已修改文件
src/main/java/com/hz/util/http/HttpHzUtil.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/hz/util/http/HttpHzUtil.java
@@ -83,7 +83,7 @@
            if(con.getErrorStream() != null){
                httpHzResponse.setMsg(IOUtils.toString(con.getErrorStream(), CHARSET));
            }
            if(con.getInputStream() != null){
            if(HttpURLConnection.HTTP_OK == con.getResponseCode() || HttpURLConnection.HTTP_CREATED == con.getResponseCode()){
                httpHzResponse.setData(IOUtils.toString(con.getInputStream(), CHARSET));
            }