@@ -507,7 +507,7 @@ public class ReportServiceImpl extends BaseServiceImpl<ReportMapper, Report> imp | |||
response.setHeader("Content-Disposition", "attachment;filename=" + urlFileName); | |||
response.setCharacterEncoding("utf-8"); | |||
//定义下载的类型 | |||
response.setContentType("application/msword;charset=UTF-8"); | |||
response.setContentType("application/octet-stream;charset=UTF-8"); | |||
OutputStream out; | |||
File files = new File(filePath); | |||