From f2b7de3623f3e439c27fd0363d73a6d74a9b4aaf Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 29 十一月 2023 15:39:40 +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