import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/config/getList',
    method: 'get',
    params,
  })
}

export function doEdit(data) {
  return request({
    url: '/config/doEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/config/doDelete',
    method: 'post',
    data,
  })
}
