import request from '../utils/request'
export function upload(data) {
    return request({
        url: '/Policy/ExcelUpload',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data',
            'token': localStorage.getItem("Token")
        },
        data,
    })
}
export const exportMileage = (data) => {
    return request({
      url: '/ImExport/GetImExportStatisticsExport',
      method: 'get',
      responseType: 'blob',
      data,
      headers: {
        // 'Content-Type': 'multipart/form-data',
        'token': localStorage.getItem("Token")
    },
    })
  }