From 63b70dbc269b7b9d20a7a88f3dd7c8bb0934d3f4 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 03 九月 2024 21:49:18 +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