src/api/mapUrl.js
@@ -1,10 +1,12 @@ /** * 该文件配置接口的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 GetWasteGas = $HOST + '/wasteGas/getWasteGas' export const getSolidWaste = $HOST + '/wasteSolid/getSolidWaste' export const getWasteWater = $HOST + '/wasteWater/getWasteWater'