Sfoglia il codice sorgente

图片转换成base64码进行显示

tags/v1.1.0
qiujinyang 2 anni fa
parent
commit
d2eb7f6082
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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,"");


Loading…
Annulla
Salva