From fbec0a50ff9a4e4afb5ac7cbb965020acb9db2c7 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期五, 10 五月 2024 15:35:10 +0800
Subject: [PATCH] 备忘录添加了fid
---
ruoyi-ui/src/api/allmemo/index.js | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/api/allmemo/index.js b/ruoyi-ui/src/api/allmemo/index.js
index c4598ab..049e338 100644
--- a/ruoyi-ui/src/api/allmemo/index.js
+++ b/ruoyi-ui/src/api/allmemo/index.js
@@ -54,3 +54,22 @@
})
}
+//鏍规嵁id杩涜鏌ヨ
+//涓婁紶鏂囦欢
+export function uploadPic(data) {
+ return request({
+ 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