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/marry/index.js | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/ruoyi-ui/src/api/marry/index.js b/ruoyi-ui/src/api/marry/index.js
index 153f8fc..bc57820 100644
--- a/ruoyi-ui/src/api/marry/index.js
+++ b/ruoyi-ui/src/api/marry/index.js
@@ -3,32 +3,41 @@
// 鏌ヨ鏁版嵁
export function listMarry(query) {
return request({
- url: '/zMarry/list',
+ url: '/marrySelf',
method: 'get',
params: query
})
}
-//鏂板淇℃伅
-export function addMarry(data) {
- return request({
- url: '/zMarry',
- method: 'post'
- })
- }
+//鏂板鍓嶄换
+export function addMarryOld(data) {
+ return request({
+ url: '/marryUser',
+ method: 'post',
+ data: data
+ })
+}
// 鍒犻櫎璧勪骇淇℃伅
-export function delMarry(id) {
+export function delMarryOld(id) {
return request({
- url: '/zMarry/' + id,
+ url: '/marryUser/' + id,
method: 'delete'
+ })
+}
+//淇敼鍓嶄换淇℃伅
+export function updateMarryOld(data) {
+ return request({
+ url: '/marryUser',
+ method: 'put',
+ data: data
})
}
//淇敼淇℃伅
export function updateMarry(data) {
return request({
- url: '/zMarry',
- method: 'put',
+ url: '/marrySelf',
+ method: 'post',
data: data
})
}
@@ -50,15 +59,6 @@
})
}
-//鎷垮埌绫诲埆
-export function getCategory()
-{
- return request({
- url: '/zDict/byId',
- method: 'get',
- params: {'id':22}
- })
-}
//涓婁紶鏂囦欢
--
Gitblit v1.9.1