// 电商销售分析数据
import request from '@/utils/request'

// 电商平台明细表
export const getSaleListAPI = (params) => {
  return request({
    url: '/bi/market/detail/sum_d',
    method: 'get',
    params
  })
}

// export const getQueryList = (params) => {
//   return axios({
//     url: '/my/search_list',
//     method: 'get',
//     params
//   })
// }

// 电商货需上传表格
export const uploadDemandImportAPI = (data) => {
  return request({
    url: '/bi/demand/core/import',
    method: 'post',
    data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}