From 1dbcc7c8bf3434048b74a8b762976d7549c00013 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期日, 21 九月 2025 10:59:06 +0800
Subject: [PATCH] 修改祖先的代码

---
 ruoyi-ui/src/api/allmemo/index.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/allmemo/index.js b/ruoyi-ui/src/api/allmemo/index.js
index 2666b59..049e338 100644
--- a/ruoyi-ui/src/api/allmemo/index.js
+++ b/ruoyi-ui/src/api/allmemo/index.js
@@ -55,3 +55,21 @@
 }
 
 //鏍规嵁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