From 78f45615949b2689dc92227f54387796fe0ea2ee Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 22 十二月 2023 15:03:45 +0800 Subject: [PATCH] 保存系统设置的接口调整入参增加各个设置对应的模块,联调接口 --- src/api/common/address.js | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/api/common/address.js b/src/api/common/address.js index 1a22d46..66e2460 100644 --- a/src/api/common/address.js +++ b/src/api/common/address.js @@ -1,9 +1,16 @@ // import request from "@/common/untils/request.js" import axios from "axios" +import request from "@/common/untils/request"; // 鑾峰彇鍩庡競鍒楄〃 export const getCityList = async (data) => { - return await axios.get(`/api/city/list`, { + return await request({ + url: "/api/city/list", + method: "get", params: data }) + // + // return await axios.get(`/api/city/list`, { + // params: data + // }) } -- Gitblit v1.8.0