From fb3b0fb61664d52a58c017437ed41f866e95f234 Mon Sep 17 00:00:00 2001 From: chenyibo <p-honggang.li@pcitc.com> Date: 星期五, 02 四月 2021 14:21:19 +0800 Subject: [PATCH] 1.修改随机获取天地图token 问题 --- 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..4bd6f56 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 getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' +export const getSolidWasteBaseInfo = $HOST + '/wasteSolid/getSolidWasteBaseInfo' +export const getSolidWasteDetail = $HOST + '/wasteSolid/getSolidWasteDetail' + +export const getWasteGas = $HOST + '/wasteGas/getWasteGas' + +export const getWasteWater = $HOST + '/wasteWater/getWasteWater' + +export const getCompany = $HOST + '/company/getCompany' -- Gitblit v1.8.0