From 7c524db9218938da1fb5f09a6b017f7ed9a217a0 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 18 五月 2024 18:23:54 +0800
Subject: [PATCH] css上传
---
ruoyi-ui/src/api/memo/index.js | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/ruoyi-ui/src/api/memo/index.js b/ruoyi-ui/src/api/memo/index.js
index 07ed13e..b71ec0e 100644
--- a/ruoyi-ui/src/api/memo/index.js
+++ b/ruoyi-ui/src/api/memo/index.js
@@ -9,6 +9,14 @@
})
}
+// 鏍规嵁id鏌ヨ璁板綍
+export function getNote(query) {
+ return request({
+ url: '/zSelfNote',
+ method: 'get',
+ params: query
+ })
+}
//鏂板璁板綍
export function addNote(data)
{
@@ -39,7 +47,7 @@
//涓婁紶鏂囦欢
export function uploadPic(data) {
return request({
- url: '/common/upload',
+ url: '/common/uploads',
method: 'post',
data: data
})
--
Gitblit v1.9.1