cb_luzhixia 1 месяц назад
Родитель
Сommit
024c153fde
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      public/config.js

+ 12 - 12
public/config.js

@@ -2,35 +2,35 @@
 // 当前后端不在同一个服务器时,需要指定host地址
 // var host = 'http://10.7.13.26' // 以前
 // var host = 'http://116.204.117.33' //基本用这个
-// var host = 'http://101.33.208.140' // 测试
+var host = 'http://116.204.117.33' // 测试
 // var host = 'http://b463f4b7.natappfree.cc' // 后端服务海鹏
 //var host = 'http://5jrgep.ipx.wanziwk.cn' // 后端服务译文
 // var host = 'http://192.168.1.2' // 后端服务译文
-var host = 'http://5jrgep.ipx.wanziwk.cn'
+// var host = 'http://5jrgep.ipx.wanziwk.cn'
 // combine为true时五合一部署, 为false时分五个服务部署
 var combine = true
 // var gateway = '8280/stage-api'
 var gateway = '9506/stage-api'
 var defaultModulePortMap = {
-  form: gateway +'/form',
-  portal: gateway +'/portal',
-  bpmRunTime: gateway +'/bpmRunTime',
-  bpmModel: gateway +'/bpmModel',
-  uc: gateway +'/uc',
-  auth: gateway +'/auth',
+  form: gateway + '/form',
+  portal: gateway + '/portal',
+  bpmRunTime: gateway + '/bpmRunTime',
+  bpmModel: gateway + '/bpmModel',
+  uc: gateway + '/uc',
+  auth: gateway + '/auth',
   commonSign: gateway,
 }
 window.getModuleRootUrl = function (module) {
   // 默认是全部服务合一的端口
   //var modulePort = '8089' // 以前
-  // var modulePort = '9506' // 基本用这个
+  var modulePort = '9506' // 基本用这个
   // var modulePort = '8088' //测试
-  var modulePort = ''
+  // var modulePort = ''
   if (!combine) {
     modulePort = defaultModulePortMap[module]
   }
-  // return host + ':' + modulePort
-  return host + modulePort
+  return host + ':' + modulePort
+  // return host + modulePort
 }
 window.context = {
   manage: host + ':8280/mvue', //管理端页面