From 91d30cd45cb0fc4c06492db8a6736d280badb44b Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 06 九月 2023 17:59:28 +0800 Subject: [PATCH] bug修复 --- src/api/client/contacts.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/api/client/contacts.js b/src/api/client/contacts.js index 6ff6f11..3c4932f 100644 --- a/src/api/client/contacts.js +++ b/src/api/client/contacts.js @@ -1,10 +1,11 @@ import request from "@/common/untils/request.js" // 鑱旂郴浜哄垪琛� -export function getContactList() { +export function getContactList(data) { return request({ url: "/api/contact/list", - method: "get" + method: "post", + data }) } // 娣诲姞鑱旂郴浜� @@ -18,8 +19,9 @@ // 鍒犻櫎鑱旂郴浜� export function getDeleteContact(data) { return request({ - url: "/api/contact/delete/" + data.id, - method: "delete" + url: "/api/contact/delete", + method: "delete", + data }) } // 鏇存柊鑱旂郴浜� -- Gitblit v1.8.0