import axios from 'axios'

export const getPayToken = 'http://124.220.15.242:8100/submit/MESgetToken.ashx' // token地址
const service = axios.create({
  baseURL: window.g.baseURL,
  timeout: 15000 // 请求超时时间
})

export default service
window.service = service
axios.defaults.headers.post['Content-Type'] = 'application/json'
export const ExcelDownLoad = 'http://124.220.15.242:8100/submit/MESCommonBase.ashx' // 导出excel
