From 28a4ffa818ba6ae807c83c882a91f7125a7f0f0e Mon Sep 17 00:00:00 2001
From: linwenling <3256558519@qq.com>
Date: 星期二, 05 九月 2023 20:41:45 +0800
Subject: [PATCH] 修改旅游

---
 ruoyi-ui/src/api/marry/index.js |   41 ++++++++++++++++++++---------------------
 1 files changed, 20 insertions(+), 21 deletions(-)

diff --git a/ruoyi-ui/src/api/marry/index.js b/ruoyi-ui/src/api/marry/index.js
index 153f8fc..d894bc6 100644
--- a/ruoyi-ui/src/api/marry/index.js
+++ b/ruoyi-ui/src/api/marry/index.js
@@ -3,32 +3,40 @@
 // 鏌ヨ鏁版嵁
 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'
+  })
+}
 
 // 鍒犻櫎璧勪骇淇℃伅
-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 +58,6 @@
   })
 }
 
-//鎷垮埌绫诲埆
-export function getCategory()
-{
-  return request({
-    url: '/zDict/byId',
-    method: 'get',
-    params: {'id':22}
-  })
-}
 
 
 //涓婁紶鏂囦欢

--
Gitblit v1.9.1