From a91b09a5fc131ca06791767c5b6359b7b6c5d486 Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 22 Sep 2023 15:11:03 +0800 Subject: [PATCH] =?UTF-8?q?system:=20uniapp=E5=A2=9E=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=95=B0=E6=8D=AE=E6=9F=A5=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/system/dict.js | 6 ++++++ utils/dict.js | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 api/system/dict.js create mode 100644 utils/dict.js diff --git a/api/system/dict.js b/api/system/dict.js new file mode 100644 index 00000000..b0a923a5 --- /dev/null +++ b/api/system/dict.js @@ -0,0 +1,6 @@ +import request from "@/utils/request.js"; + +// 根据字典类型查询字典数据信息 +export function getDicts(dictType) { + return request.get('app-api/system/dict-data/type/' + dictType); +} diff --git a/utils/dict.js b/utils/dict.js new file mode 100644 index 00000000..df9da16b --- /dev/null +++ b/utils/dict.js @@ -0,0 +1,12 @@ +/** + * Created by 芋道源码 + * + * 数据字典工具类 + */ + +export const DICT_TYPE = { + + // ========== MALL - 交易模块 ========== + BROKERAGE_BANK_NAME: 'brokerage_bank_name', // 佣金提现银行 + +}