import request from '@/utils/request'

const api = '/bi-api'

export const dictList = (params) => request({ url: api + '/visual/enum/list', method: 'get', params })
export const dictSave = (data) => request({ url: api + '/visual/enum/submit', method: 'post', data })
export const dictDel = (params) => request.post(api + '/visual/enum/remove', {}, { params })
export const dictDetail = (params) => request({ url: api + '/visual/enum/detail', method: 'get', params })
