|
|
@@ -46,7 +46,6 @@ public class ExcelUtils2 implements ResourceLoaderAware {
|
|
|
resp.setHeader("Content-Type", "application/vnd.ms-excel; charset=utf-8");
|
|
|
try {
|
|
|
resp.setHeader("Content-Disposition", "attachment; filename=" + URLEncoder.encode(filename, "UTF-8"));
|
|
|
- logger.info("文件大小:" + template.getFile().length());
|
|
|
logger.info("文件大小2:" + template.contentLength());
|
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException(e);
|