Merge branch 'sgrzexport' of http://192.168.12.182/invoice/pt into test

 Conflicts:
	dxhy-core/src/main/java/com/dxhy/core/controller/FtpDownloadController.java
release
yishiqihuasheng 2 years ago
commit 88e272e8d9
  1. 3
      dxhy-core/src/main/java/com/dxhy/core/controller/FtpDownloadController.java

@ -97,7 +97,8 @@ public class FtpDownloadController extends AbstractController {
if ("1".equals(serviceType)) {
response.setContentType(this.getContentType(fileName));
} else {
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
response.setContentType("application/octet-stream");
response.setContentType("application/vnd.ms-excel");
}
response.setHeader("Content-disposition",
"attachment; filename=" + new String(fileName.getBytes(StandardCharsets.UTF_8), "ISO8859-1"));

Loading…
Cancel
Save