import request from '@/utils/request'
const api = '/bi-api'
export const paramList = (params) => request.get(api + '/cube/globalParam/page', { params })
export const getparamsys = (params) => request.get(api + '/cube/globalParam/get/sys', { params })

export const categorySave = (data) => request.post(api + '/cube/globalParamType/submit', data)
export const categoryDel = (id) => request.post(api + '/cube/globalParamType/delete?id=' + id)
export const categoryList = (params) => request.get(api + '/cube/globalParamType/page', { params })
export const paramDel = (id) => request.post(api + '/cube/globalParam/delete?paramId=' + id)
export const paramSave = (data) => request.post(api + '/cube/globalParam/submit', data)
