From 0976a86e697f64c9193a4496df3f3fe483d6654b Mon Sep 17 00:00:00 2001
From: zhangshuaibao <15731629597@163.com>
Date: 星期三, 31 三月 2021 11:24:26 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/api/mapApi.js | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/api/mapApi.js b/src/api/mapApi.js
index e7ebbc3..bffdbb6 100644
--- a/src/api/mapApi.js
+++ b/src/api/mapApi.js
@@ -2,13 +2,20 @@
// import * as Service from './services'
// const $HOST = 'http://10.238.221.113'
// 娴嬭瘯鐜IP锛歨ttp://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()
--
Gitblit v1.8.0