import request from '@/utils/request'

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

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

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