From afd4342bccb0e111fe4134fa7693f50b0b91fdbd Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期三, 31 三月 2021 19:00:51 +0800 Subject: [PATCH] 工具条调整 --- src/api/mapUrl.js | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js index c337552..1b986df 100644 --- a/src/api/mapUrl.js +++ b/src/api/mapUrl.js @@ -1,10 +1,16 @@ /** - * 璇ユ枃浠堕厤缃帴鍙g殑URL鍦板潃 - */ -class ApiURLs{ - constructor(){ - this.APIURL_HELLOWORLD = 'http://www.baidu.com' - } -} + * 璇ユ枃浠堕厤缃帴鍙g殑URL鍦板潃 + */ +import { $HOST } from './host' -export default new ApiURLs() +export const GetUser = $HOST + '/user/getUser' + +export const GetWasteGas = $HOST + '/wasteGas/getWasteGas' + +export const getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' + +export const getWasteWater = $HOST + '/wasteWater/getWasteWater' + +export const getSolidWasteBaseInfo = $HOST + '/wasteSolid/getSolidWasteBaseInfo' + +export const getCompany = $HOST + '/company/getCompany' -- Gitblit v1.8.0