From cad33708aed681427ff94040fca026c670b070c7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 24 十月 2023 20:05:55 +0800
Subject: [PATCH] 客户服务单 严重程度保存不成功的问题处理

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