瀏覽代碼

问题描述不存在的问题

tags/v1.1.0
qiujinyang 2 年之前
父節點
當前提交
698c0ed0b0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -513,7 +513,7 @@ public class ReportServiceImpl extends BaseServiceImpl<ReportMapper, Report> imp
//response.setContentType("application/msword;charset=GBK");
response.setContentType("application/msword");
OutputStream out;
File files = new File(filePath,"");
File files = new File(filePath);

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

Loading…
取消
儲存