import axios from 'axios'
export const wsuri = 'ws://127.0.0.1:61101//WebMoudule//websocket'
export const opname = 'SCADAMain/+' // TOBS??SCADAMain?MES|Current|opName|电流^电压
export const opnameBs = 'TOCS?CS?MesWork?MES|'
export const mqttIp = window.dt_Config.mqttIp
// export const mqttIp = '127.0.0.1'
export const mqttPort = window.dt_Config.mqttPort
const service = axios.create({
  baseURL: window.dt_Config.serverAddress,
  timeout: 1500000 // 请求超时时间
})
export default service
axios.defaults.headers.post['Content-Type'] = 'application/json'
export const ExcelDownLoad = window.dt_Config.serverAddress
export const action = window.dt_Config.serverAddress

