From e38f6d08af8b36f4c394257c5ebcdc4f111cde7e Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期日, 13 八月 2023 21:01:21 +0800
Subject: [PATCH] 更换背景颜色
---
ruoyi-ui/src/api/memo/index.js | 71 +++++++++++++++++++++++++++++++++++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/api/memo/index.js b/ruoyi-ui/src/api/memo/index.js
index 543ea86..17bdbd8 100644
--- a/ruoyi-ui/src/api/memo/index.js
+++ b/ruoyi-ui/src/api/memo/index.js
@@ -1 +1,72 @@
import request from '@/utils/request'
+
+// 鏌ヨ鎵�鏈夎褰�
+export function listNote(query) {
+ return request({
+ url: '/zSelfNote/all',
+ method: 'get',
+ params: query
+ })
+}
+
+// 鏍规嵁id鏌ヨ璁板綍
+export function getNote(query) {
+ return request({
+ url: '/zSelfNote',
+ method: 'get',
+ params: query
+ })
+}
+//鏂板璁板綍
+export function addNote(data)
+{
+ return request({
+ url: '/zSelfNote',
+ method: 'post',
+ data: data
+ })
+}
+
+// 鍒犻櫎璁板綍
+export function delNote(ids) {
+ return request({
+ url: '/zSelfNote/' + ids,
+ method: 'delete'
+ })
+}
+
+//淇敼璁板綍
+export function updateNote(data) {
+ return request({
+ url: '/zSelfNote',
+ method: 'put',
+ data: data
+ })
+}
+
+//涓婁紶鏂囦欢
+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',
+ method: 'post',
+ data: data
+ })
+}
+
--
Gitblit v1.9.1