lxw
2022-08-17 0dbef7383f2f2acbd77a5d5b9f4580143a58aa37
软件下载
1个文件已修改
1 ■■■■ 已修改文件
src/main/java/com/whyc/service/ProductSoftwareService.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/ProductSoftwareService.java
@@ -65,6 +65,7 @@
            // 转码防止乱码
            resp.addHeader("Content-Disposition", "attachment;filename="
                    + softwareName);
            resp.setCharacterEncoding("UTF-8");
            OutputStream out = resp.getOutputStream();
            FileInputStream in = new FileInputStream(fileDirName+File.separator+software.getSoftwareUrl());
            int len=0;