From 1c68f1bdbd35944671954724c9c3f59538a3dbb3 Mon Sep 17 00:00:00 2001 From: 张钢 <floatgang@163.com> Date: 星期五, 23 八月 2024 22:32:46 +0800 Subject: [PATCH] 修改了代码格式 --- ruoyi-ui/src/api/marry/index.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/api/marry/index.js b/ruoyi-ui/src/api/marry/index.js index d894bc6..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 }) } //淇敼鍓嶄换淇℃伅 -- Gitblit v1.9.1