system: uniapp增加字典数据查询接口
parent
a2f0aa31fd
commit
a91b09a5fc
|
@ -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', // 佣金提现银行
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue