From f3f693a10d00b75f1eafe7f029cbd99bd3c9825b Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期三, 07 四月 2021 10:24:07 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/api/mapUrl.js | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js index c337552..33bf39f 100644 --- a/src/api/mapUrl.js +++ b/src/api/mapUrl.js @@ -1,10 +1,18 @@ /** - * 璇ユ枃浠堕厤缃帴鍙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 getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' +export const getSolidWasteBaseInfo = $HOST + '/wasteSolid/getSolidWasteBaseInfo' +export const getSolidWasteDetail = $HOST + '/wasteSolid/getSolidWasteDetail' +export const getSolidWasteSurveyDetail = $HOST + '/wasteSolid/getSolidWasteSurveyDetail' + +export const getWasteGas = $HOST + '/wasteGas/getWasteGas' +export const getWasteGasDetails = $HOST + '/wasteGas/getWasteGasMonitoringDetails' + +export const getWasteWater = $HOST + '/wasteWater/getWasteWater' + +export const getCompany = $HOST + '/company/getCompany' -- Gitblit v1.8.0