src/api/mapUrl.js
@@ -1,10 +1,8 @@ /** * 该文件配置接口的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 getSolidWaste = $HOST + '/wasteSolid/getSolidWaste'