From 4470052c3b6bdeb18e45987f8aa293d1e93d0552 Mon Sep 17 00:00:00 2001
From: Ludc <2870569285@qq.com>
Date: 星期二, 18 十一月 2025 11:59:12 +0800
Subject: [PATCH] 所有文件上传接口增加文件安全校验逻辑。

---
 Source/UBCS-WEB/src/api/resource/file.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js
index ef26a06..0af8963 100644
--- a/Source/UBCS-WEB/src/api/resource/file.js
+++ b/Source/UBCS-WEB/src/api/resource/file.js
@@ -41,6 +41,7 @@
     url: '/api/ubcs-resource/fileController/downloadFilesByOids',
     method: 'post',
     headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'},
+    responseType: 'blob',
     data: data
 
   })

--
Gitblit v1.9.3