From 16d6e11e944b8eaac8e52dc9327278784e006670 Mon Sep 17 00:00:00 2001 From: sxq <812980466@qq.com> Date: 星期二, 26 十月 2021 15:12:58 +0800 Subject: [PATCH] 1:升级springboot版本到2.5.6。 2:升级hutool版本到5.7.15。 --- ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java index 23d9afd..813fc97 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java @@ -42,8 +42,6 @@ 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(); -- Gitblit v1.9.3