From 2cffeb30840020af3654f74ea700ec94dc82024c Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 28 六月 2023 13:19:46 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs

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

diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js
index 46c711a..b544412 100644
--- a/Source/UBCS-WEB/src/api/resource/file.js
+++ b/Source/UBCS-WEB/src/api/resource/file.js
@@ -12,7 +12,7 @@
   })
 }
 
-export const remove = (fileOids,oids) => {
+export const remove = (oids) => {
   return request({
     url: '/api/ubcs-resource/fileController/deleteFile',
     method: 'delete',
@@ -39,7 +39,8 @@
 export const download = (fileOids) => {
   return request({
     url: '/api/ubcs-resource/fileController/downloadFilesByOids',
-    method: 'get',
+    method: 'post',
+    headers:{'Content-Type':'application/x-www-form-urlencoded'},
     params: {
       fileOids
     }

--
Gitblit v1.9.3