From fe95d034e69c59d3e1a003615a65a0fb945ba55f Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 25 四月 2024 17:07:57 +0800 Subject: [PATCH] 获取供应商对应产品的列表接口修改和联调+获取产品相关供应商的接口修改和联调 --- 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