From e15df9a20c29044b10772e3587a00d0be03b281d Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期日, 08 十二月 2024 20:57:41 +0800
Subject: [PATCH] 增加了内容
---
ruoyi-ui/src/api/allmemo/index.js | 30 ++++++++++++------------------
1 files changed, 12 insertions(+), 18 deletions(-)
diff --git a/ruoyi-ui/src/api/allmemo/index.js b/ruoyi-ui/src/api/allmemo/index.js
index d570ef2..049e338 100644
--- a/ruoyi-ui/src/api/allmemo/index.js
+++ b/ruoyi-ui/src/api/allmemo/index.js
@@ -53,29 +53,23 @@
})
}
+
+//鏍规嵁id杩涜鏌ヨ
//涓婁紶鏂囦欢
export function uploadPic(data) {
return request({
- url: '/common/upload',
- method: 'post',
- data: data
- })
-}
-// //涓嬭浇鏂囦欢
-// export function download(data) {
-// return request({
-// url: '/common/downLoadFile',
-// method: 'get',
-// params: data,
-// responseType: 'blob'
-// })
-// }
-//涓婁紶鏂囦欢
-export function enload(data) {
- return request({
- url: '/zSelfNote/importData',
+ url: '/common/uploads',
method: 'post',
data: data
})
}
+//涓嬭浇鏂囦欢
+export function download(data) {
+ return request({
+ url: '/common/downLoadFile',
+ method: 'get',
+ params: data,
+ responseType: 'blob'
+ })
+}
--
Gitblit v1.9.1