📝 fix: 修改excel和core配置
This commit is contained in:
@@ -41,6 +41,7 @@ public class ExcelUtils {
|
||||
Workbook workbook = ExcelExportUtil.exportExcel(new ExportParams(), pojoClass, list);
|
||||
response.setCharacterEncoding("UTF-8");
|
||||
response.setHeader("content-Type", "application/vnd.ms-excel");
|
||||
response.setHeader("Access-Control-Expose-Headers","Content-Disposition");
|
||||
response.setHeader("Content-Disposition",
|
||||
"attachment;filename=" + URLEncoder.encode(fileName, "UTF-8") + ".xls");
|
||||
ServletOutputStream out = response.getOutputStream();
|
||||
|
||||
Reference in New Issue
Block a user