Commit 3a4eb5d7 by wenyang

经纪人电子报娉时增加视频认证流程2

parent e1d629e6
...@@ -36,22 +36,15 @@ public class HttpUtil { ...@@ -36,22 +36,15 @@ public class HttpUtil {
conn.setDoInput(true); conn.setDoInput(true);
conn.connect(); conn.connect();
is = conn.getInputStream(); //得到网络返回的输入流 is = conn.getInputStream(); //得到网络返回的输入流
resp.put("is", is);
} catch (IOException e) { } catch (IOException e) {
success = false; success = false;
message = "下载文件失败"; message = "下载文件失败";
} finally { } finally {
if(is != null){ resp.put("is", is);
try { resp.put("message", message);
is.close(); resp.put("success", success);
} catch (Exception e) {
}
}
} }
resp.put("message", message);
resp.put("success", success);
return resp; return resp;
} }
......
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