From 7045ca2f6b6bcbc3987e388bf0b25281c250ccf5 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 19 四月 2024 18:09:00 +0800 Subject: [PATCH] srm 新增编辑供应商,启用停用创建账号获取和保存企业/信用等级/供货范围 ,等大概7个接口的联调 --- src/api/common/other.js | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index adf2e9d..29b34b7 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -3,14 +3,30 @@ // 璐熻矗浜� // export const getMemberListFromGrpc = async (data) => { -// return await axios.get(`/api/m/getMemberListFromGrpc`, { +// return await axios.get(`/api-srm/m/getMemberListFromGrpc`, { // params: data // }) // } export function getMemberListFromGrpc(data) { return request({ - url: "/api/m/getMemberListFromGrpc", + url: "/api-srm/m/getMemberListFromGrpc", method: "get", params: data }) -} \ No newline at end of file +} +// plc閰嶇疆鐨勫垪琛� +export const getMiniDictList = (data) => { + return request({ + url: "/api-srm/dict/getMiniDictList", + method: "post", + data, + }); +}; +// plc閰嶇疆鐨勬洿鏂� +export const saveMiniDict = (data) => { + return request({ + url: "/api-srm/dict/saveMiniDict", + method: "post", + data, + }); +}; \ No newline at end of file -- Gitblit v1.8.0