From f9201f16652d1e58d649afaf0c5d025031c52c3f Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期三, 31 三月 2021 11:16:25 +0800
Subject: [PATCH] 更改文件地址/及方法
---
src/api/mapApi.js | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/api/mapApi.js b/src/api/mapApi.js
index e7ebbc3..ce6c47f 100644
--- a/src/api/mapApi.js
+++ b/src/api/mapApi.js
@@ -2,13 +2,17 @@
// 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)
+ }
}
-
-export default new MapAPI()
--
Gitblit v1.8.0