From 38e3523c6883eb3eaaf58995a9ad6db888ee4c43 Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期六, 30 三月 2024 17:44:25 +0800
Subject: [PATCH] 修改了魅宠饮食习惯

---
 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