|
@@ -42,8 +42,6 @@ public class ExcelUtil {
|
|
|
try {
|
|
|
String filename = encodingFilename(sheetName);
|
|
|
response.reset();
|
|
|
- response.addHeader("Access-Control-Allow-Origin", "*");
|
|
|
- response.addHeader("Access-Control-Expose-Headers", "Content-Disposition");
|
|
|
FileUtils.setAttachmentResponseHeader(response, filename);
|
|
|
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8");
|
|
|
ServletOutputStream os = response.getOutputStream();
|