2024-09-04 09:14:33 +00:00
|
|
|
import request from '@/sheep/request';
|
|
|
|
|
|
|
|
const DictApi = {
|
|
|
|
// 根据字典类型查询字典数据信息
|
|
|
|
getDictDataListByType: (type) => {
|
|
|
|
return request({
|
|
|
|
url: `/system/dict-data/type`,
|
|
|
|
method: 'GET',
|
2024-09-05 12:08:48 +00:00
|
|
|
params: {
|
|
|
|
type,
|
|
|
|
},
|
2024-09-04 09:14:33 +00:00
|
|
|
});
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2024-09-05 12:08:48 +00:00
|
|
|
export default DictApi;
|