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-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java
index cfa4c7b..62f3c44 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysOssController.java
@@ -98,8 +98,6 @@
             throw new ServiceException("鏂囦欢鏁版嵁涓嶅瓨鍦�!");
         }
         response.reset();
-        response.addHeader("Access-Control-Allow-Origin", "*");
-        response.addHeader("Access-Control-Expose-Headers", "Content-Disposition");
         FileUtils.setAttachmentResponseHeader(response, sysOss.getOriginalName());
         response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE + "; charset=UTF-8");
         long data;

--
Gitblit v1.9.3