zhengkaixin 8 月之前
父节点
当前提交
cfe3cc003b
共有 2 个文件被更改,包括 5 次插入2 次删除
  1. 3 0
      src/components/Common.vue
  2. 2 2
      src/utils/request.js

+ 3 - 0
src/components/Common.vue

@@ -58,6 +58,9 @@
 		created() {
 			
 			var url=window.location.href
+			if(url&&url.indexOf('https://xpgj.jzrccs.com/')==0){
+				window.location.href="http://xpgj.jzrccs.com/prod/xsy/#/"
+			}
 			if(url&&url.indexOf('https://xpgj.hbjp.com.cn/')==0){
 				window.location.href="http://xpgj.hbjp.com.cn/prod/xsy/#/"
 			}

+ 2 - 2
src/utils/request.js

@@ -16,11 +16,11 @@ axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded'
 var BACKEND_URL = process.env.VUE_APP_BACKEND_URL;
 
 if (process.env.VUE_APP_NODE_NAME == 'devlopment') {
-		// BACKEND_URL='http://192.168.33.120:8086/shinestar-server';
+		// BACKEND_URL='http://192.168.33.220:8086/shinestar-server';
 		// BACKEND_URL='http://192.168.33.90:8086/shinestar-server';
 		
 		//BACKEND_URL="https://ykt-test.xiaoxinda.com/shinestar-server/"
-		BACKEND_URL='http://111.4.58.15:6060/shinestar-server';
+		//BACKEND_URL='http://111.4.58.15:6060/shinestar-server';
 		
 	//	BACKEND_URL='http://192.168.11.120:8086/shinestar-server';