system: uniapp增加字典数据查询接口

This commit is contained in:
owen committed 2023-09-22 15:11:03 +08:00
1 parent a2f0aa31fd
commit a91b09a5fc
2 files changed
+18

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import request from "@/utils/request.js";
// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
return request.get('app-api/system/dict-data/type/' + dictType);
}
+12
View File
@@ -0,0 +1,12 @@
/**
* Created by 芋道源码
*
* 数据字典工具类
*/
export const DICT_TYPE = {
// ========== MALL - 交易模块 ==========
BROKERAGE_BANK_NAME: 'brokerage_bank_name', // 佣金提现银行
}