system: uniapp增加字典数据查询接口
This commit is contained in:
1 parent
a2f0aa31fd
commit
a91b09a5fc
2 files changed
+18
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import request from "@/utils/request.js";
|
||||
|
||||
// 根据字典类型查询字典数据信息
|
||||
export function getDicts(dictType) {
|
||||
return request.get('app-api/system/dict-data/type/' + dictType);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Created by 芋道源码
|
||||
*
|
||||
* 数据字典工具类
|
||||
*/
|
||||
|
||||
export const DICT_TYPE = {
|
||||
|
||||
// ========== MALL - 交易模块 ==========
|
||||
BROKERAGE_BANK_NAME: 'brokerage_bank_name', // 佣金提现银行
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user