Browse Source

问题描述不存在的问题

tags/v1.1.0
qiujinyang 2 years ago
parent
commit
698c0ed0b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ReportServiceImpl.java

+ 1
- 1
tuoheng-admin/src/main/java/com/tuoheng/admin/service/impl/ReportServiceImpl.java View File

//response.setContentType("application/msword;charset=GBK"); //response.setContentType("application/msword;charset=GBK");
response.setContentType("application/msword"); response.setContentType("application/msword");
OutputStream out; OutputStream out;
File files = new File(filePath,"");
File files = new File(filePath);


log.info("读出的文件文件地址为:{}",filePath); log.info("读出的文件文件地址为:{}",filePath);
//InputStream inputStream = this.getClass().getResourceAsStream(filePath); //InputStream inputStream = this.getClass().getResourceAsStream(filePath);

Loading…
Cancel
Save