// 读取api接口的压缩文件
// HttpResponse res = 调取的api
InputStream inputStream = res.bodyStream();
// String zipPath = System.getProperty("user.dir") + "/***.zip" // 重名时会覆盖,当前目录下的此文件
BufferedInputStream bufferedInputStream = new BufferedInputStream(inputStream);
FileOutputStream fileOutputStream <
读取Api接口的压缩文件
于 2024-01-04 14:26:20 首次发布