diff --git a/sheep/api/system/dict.js b/sheep/api/system/dict.js new file mode 100644 index 00000000..9ee4ca68 --- /dev/null +++ b/sheep/api/system/dict.js @@ -0,0 +1,16 @@ +import request from '@/sheep/request'; + +const DictApi = { + // 根据字典类型查询字典数据信息 + getDictDataListByType: (type) => { + return request({ + url: `/system/dict-data/type`, + method: 'GET', + params: { + type, + }, + }); + }, +}; + +export default DictApi; \ No newline at end of file