qinzhipeng_v 5 jaren geleden
bovenliggende
commit
54c85f5460
2 gewijzigde bestanden met toevoegingen van 1 en 4 verwijderingen
  1. 0 4
      src/apiConfig/api.js
  2. 1 0
      src/apiConfig/requestIP.js

+ 0 - 4
src/apiConfig/api.js

@@ -1,7 +1,6 @@
 import { requestIp } from './requestIP'
 
 /*eslint-disable*/   //规避eslint的检查,如没有eslint可不写
-// export const mockUrl = 'http://10.179.24.176:8980' // 线下
 export const mockUrl = 'http://10.179.24.123:8980' // 线上
 
 export const qualityUrl = 'http://10.179.181.103:8898' // 质量度量
@@ -13,9 +12,6 @@ export const vehicleUrl_preonline = 'http://10.179.53.173:9999' // 虚拟硬件
   //虚拟硬件线上环境
 export const vehicleUrl_online = 'http://10.179.91.236:9999' // 虚拟硬件 zhihui
 
-// export const HMvehicleUrl = 'http://10.96.113.197:9999' // 电单车 线下
-// export const HMvehicleUrl = 'http://10.179.181.103:9999' // 电单车 线上
-
 // -----------------------------------------2.0-----------------------------------------------
 
 export const projectManagementUrl = requestIp + '/project-management' //项目管理

+ 1 - 0
src/apiConfig/requestIP.js

@@ -3,6 +3,7 @@ export let requestIp = host + '/zuul'
 export let loginUrl = host + '/sso/login?jumpto=' + 'http://zhihui-test.intra.xiaojukeji.com' + location.pathname
 export let logoutUrl = host + '/sso/logout?jumpto=' + 'http://zhihui-test.intra.xiaojukeji.com' + location.pathname
 export let envTag = 'test'
+
 if (location.host.indexOf('localhost') < 0) {
   host = 'http://' + location.host
   requestIp = host + '/zuul'