Bläddra i källkod

图片转换成base64码进行显示

tags/v1.1.0
qiujinyang 2 år sedan
förälder
incheckning
d2eb7f6082
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 Visa fil

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


Laddar…
Avbryt
Spara