import request from '@/utils/request'
const api = '/bi-api'

export const funcSave = (data) => request.post(api + '/cube/function/submit', data)
export const funcDel = (id) => request.post(api + '/cube/function/delete?ids=' + id)
export const funcList = (params) => request.get(api + '/cube/function/list', { params })
export const funcAttrList = (params) => request.get(api + '/cube/function/funcAttrList', { params })
