From 46a0fb1d9ab9a48a40a7c8cc9d8917bf271713de Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 26 十月 2024 12:17:28 +0800
Subject: [PATCH] 修改了对应bug

---
 ruoyi-ui/src/api/marry/index.js |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/ruoyi-ui/src/api/marry/index.js b/ruoyi-ui/src/api/marry/index.js
index 384d3e4..574fa57 100644
--- a/ruoyi-ui/src/api/marry/index.js
+++ b/ruoyi-ui/src/api/marry/index.js
@@ -13,15 +13,17 @@
 export function addMarryOld(data) {
   return request({
     url: '/marryUser',
-    method: 'post'
+    method: 'post',
+    data: data
   })
 }
 
 // 鍒犻櫎璧勪骇淇℃伅
-export function delMarryOld(id) {
+export function delMarryOld(query) {
   return request({
-    url: '/marryUser/' + id,
-    method: 'delete'
+    url: '/marryUser',
+    method: 'delete',
+    params: query
   })
 }
 //淇敼鍓嶄换淇℃伅
@@ -58,15 +60,6 @@
   })
 }
 
-//鎷垮埌绫诲埆
-export function getCategory()
-{
-  return request({
-    url: '/zDict/byId',
-    method: 'get',
-    params: {'id':22}
-  })
-}
 
 
 //涓婁紶鏂囦欢

--
Gitblit v1.9.1