疯狂的狮子li
2021-11-15 b699b5fef56ca73c24839dfb8389a5199f4d6903
ruoyi-common/src/main/java/com/ruoyi/common/utils/file/FileUtils.java
@@ -32,6 +32,8 @@
                .append("utf-8''")
                .append(percentEncodedFileName);
        response.addHeader("Access-Control-Allow-Origin", "*");
        response.addHeader("Access-Control-Expose-Headers", "Content-Disposition,download-filename");
        response.setHeader("Content-disposition", contentDispositionValue.toString());
        response.setHeader("download-filename", percentEncodedFileName);
    }