浏览代码

问题描述不存在的问题

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);

正在加载...
取消
保存