派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-03-31 97e8d550c9867f7a92c56060835db2969e6fca2e
src/api/mapApi.js
@@ -2,13 +2,26 @@
// import * as Service from './services'
// const $HOST = 'http://10.238.221.113'
// 测试环境IP:http://10.238.221.113
import axios from '@utils/axios'
import * as mapUrl from './mapUrl'
/**
 * 该方法配置
 */
class MapAPI{
export default {
  getUser (data) {
    return axios.get(mapUrl.GetUser, data)
  },
  getSolidWaste (data) {
    return axios.get(mapUrl.getSolidWaste, data)
  },
  getSolidWasteBaseInfo (data) {
    return axios.get(mapUrl.getSolidWasteBaseInfo, data)
  },
  GetWasteGas (data) {
    return axios.get(mapUrl.GetWasteGas, data)
  },
  getCompany (data) {
    return axios.get(mapUrl.getCompany, data)
  }
}
export default new MapAPI()