From b49381845406580d5fdfb55d69179bea5a4613e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Sat, 16 Oct 2021 10:41:21 +0800 Subject: [PATCH] commit --- src/App.vue | 2 +- src/sysConfig/index.js | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/App.vue b/src/App.vue index 680c12bfb..f744aa507 100644 --- a/src/App.vue +++ b/src/App.vue @@ -63,7 +63,7 @@ roundButton: false }).then(() => { if(webLoginType != null && webLoginType === 'idm' ) { - window.location.href= 'http://testsso1.foton.com.cn/logout?service=' + window.location.href= 'http://sso.foton.com.cn/logout?service=' // this.$http.post('logout', {}, res => { // window.location.href= 'http://testsso1.foton.com.cn/logout?service=' // }) diff --git a/src/sysConfig/index.js b/src/sysConfig/index.js index 23dbde637..e9ecb4e04 100644 --- a/src/sysConfig/index.js +++ b/src/sysConfig/index.js @@ -10,9 +10,9 @@ const devIp = '62.234.136.153' const devInterfacePORT = '8033' // 配置 idm 认证 -const ssoLogin = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&response_type=code&redirect_uri=' +const ssoLogin = 'http://sso.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&response_type=code&redirect_uri=' // 配置 前端服务 -const devWebUrl = 'http://127.0.0.1:10088/#/' +const devWebUrl = 'https://slrs.foton.com.cn/#/' // webLoginType : idm (线上统一登录) 、 webLoginType: dev (测试环境登录) const webLoginType = 'dev' // 云端端口号 @@ -37,9 +37,8 @@ const processPort = '17210' *****************************************************************/ // 生产环境配置 -const prodIp = '62.234.136.153' -const prodInterfacePORT = '8033' - +const prodIp = '10.100.5.117' +const prodInterfacePORT = '4202' // 判断环境 const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp