This commit is contained in:
宋伟佳
2021-10-16 10:41:21 +08:00
parent cbd6b630dc
commit b493818454
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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='
// })
+4 -5
View File
@@ -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