import request from '@/utils/request';

// 列表数据
export function exportListData(query) {
  return request({
    url: '/system/UploadDocument/fuzzyQuery',
    method: 'get',
    params: query
  })
}

// 查看数据
export function exportViewData(id) {
  return request({
    url: '/system/UploadDocument/listData?id=' + id,
    method: 'get'
  })
}

// 删除数据
export function exportDeleteData(id) {
  return request({
    url: '/system/UploadDocument/deleteShop?id=' + id,
    method: 'get'
  })
}

// 导出数据
export function exportExportData(content) {
  return request({
    url: '/system/UploadDocument/shopExport?content=' + content,
    method: 'get'
  })
}
