import http from './index.js';
import {
	serverUrl
} from '@/config.js';

// 读取字典数据
export const getDictionaryOptions = (params) => http.get(serverUrl + '/system/dict-data', {params})

export const listDictionary = (params) => http.get(serverUrl + '/system/dict/tree', {params})


export default {
	getDictionaryOptions,
	listDictionary
}
