From da2ff97717da1482d9a998074e9f1653f4de3178 Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期三, 31 三月 2021 11:19:12 +0800 Subject: [PATCH] 从新设置数据请求方式 --- src/api/mapUrl.js | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js index bc905e4..131d7a2 100644 --- a/src/api/mapUrl.js +++ b/src/api/mapUrl.js @@ -1,10 +1,8 @@ /** * 璇ユ枃浠堕厤缃帴鍙g殑URL鍦板潃 */ -class ApiURLs { - constructor () { - this.APIURL_HELLOWORLD = 'http://www.baidu.com' - } -} +import { $HOST } from './host' -export default new ApiURLs() +export const GetUser = $HOST + '/user/getUser' + +export const GetWasteWater = $HOST + '/wasteWater/getWasteWater' -- Gitblit v1.8.0