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', // 佣金提现银行 + +}