From a63bbe043b87d9becfe483bb1477d471a79edcd8 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期日, 23 七月 2023 11:45:24 +0800
Subject: [PATCH] 全部删除接口联调

---
 src/api/common/address.js |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/src/api/common/address.js b/src/api/common/address.js
index f61d263..12ecb36 100644
--- a/src/api/common/address.js
+++ b/src/api/common/address.js
@@ -8,10 +8,11 @@
   })
 }
 // 娣诲姞鍥藉
-export function getAddCountry() {
+export function getAddCountry(data) {
   return request({
     url: "/api/country/add",
-    method: "post"
+    method: "post",
+    data
   })
 }
 // 鍒犻櫎鍥藉
@@ -23,17 +24,19 @@
   })
 }
 // 璁剧疆鍥藉
-export function getSetCountry() {
+export function getSetCountry(data) {
   return request({
     url: "/api/country/set",
-    method: "put"
+    method: "put",
+    data
   })
 }
 // 鏇存柊鍥藉
-export function getUpdateCountry() {
+export function getUpdateCountry(data) {
   return request({
     url: "/api/country/update",
-    method: "put"
+    method: "put",
+    data
   })
 }
 
@@ -45,10 +48,11 @@
   })
 }
 // 娣诲姞鐪佷唤
-export function getAddProvince() {
+export function getAddProvince(data) {
   return request({
     url: "/api/province/add",
-    method: "post"
+    method: "post",
+    data
   })
 }
 // 鍒犻櫎鐪佷唤
@@ -60,16 +64,18 @@
   })
 }
 // 璁剧疆鐪佷唤
-export function getSetProvince() {
+export function getSetProvince(data) {
   return request({
     url: "/api/province/set",
-    method: "put"
+    method: "put",
+    data
   })
 }
 // 鏇存柊鐪佷唤
-export function getUpdateProvince() {
+export function getUpdateProvince(data) {
   return request({
     url: "/api/province/update",
-    method: "put"
+    method: "put",
+    data
   })
 }

--
Gitblit v1.8.0