Shi Kejing 4 years ago
parent
commit
f6aefa81f3

+ 1 - 0
svr/svr-door-serivce/src/main/java/com/yihu/jw/door/service/DoorOrderService.java

@ -1650,6 +1650,7 @@ public class DoorOrderService {
            j = j + 1;
            fileName = java.net.URLEncoder.encode(fileName,"UTF-8");
            fileName = java.net.URLDecoder.decode(fileName,"UTF-8");
            System.out.println("fileName  ===  "+ fileName);
            response.setHeader("Content-Disposition", "attachment; filename=" + fileName);
//            String pathName = this.getClass().getResource("/").getPath() + "conclusion.mht";
//            System.out.println("路径pathName:" + pathName);