From 61593e5b186f4e83d20d98a70f71f49138b715fa Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 20 七月 2023 15:18:31 +0800
Subject: [PATCH] 前端代码打包
---
Source/UBCS-WEB/src/api/resource/file.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/resource/file.js b/Source/UBCS-WEB/src/api/resource/file.js
index d9c2076..ef26a06 100644
--- a/Source/UBCS-WEB/src/api/resource/file.js
+++ b/Source/UBCS-WEB/src/api/resource/file.js
@@ -36,12 +36,13 @@
})
}
-export const download = (fileOids) => {
+export const download = (data) => {
return request({
url: '/api/ubcs-resource/fileController/downloadFilesByOids',
method: 'post',
- // headers:{'Content-Type':'application/x-www-form-urlencoded'},
- params: fileOids
+ headers:{'Content-Type':'application/x-www-form-urlencoded;charset=UTF-8'},
+ data: data
+
})
}
--
Gitblit v1.10.0