派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-03-31 9ebe61e0dd331eeb53c3b0cb022c732ceb9e6b87
src/api/mapApi.js
@@ -2,13 +2,20 @@
// 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)
  },
  getWasteWater (data) {
    return axios.get(mapUrl.getWasteWater, data)
  }
}
export default new MapAPI()