From 3286b2af0a85f46644bc09cfb16171f4d399890d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期五, 19 四月 2024 17:13:25 +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