From 9d3f1aa7571cd532c0c27bf8376ebf4b2178a252 Mon Sep 17 00:00:00 2001 From: charles <981744753@qq.com> Date: 星期三, 24 七月 2024 17:45:45 +0800 Subject: [PATCH] fix:解决srm之前改了域名,处理各种异常状态,跳转也会出现异常等问题。 --- 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