commit
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@
|
|||||||
roundButton: false
|
roundButton: false
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
if(webLoginType != null && webLoginType === 'idm' ) {
|
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 => {
|
// this.$http.post('logout', {}, res => {
|
||||||
// window.location.href= 'http://testsso1.foton.com.cn/logout?service='
|
// window.location.href= 'http://testsso1.foton.com.cn/logout?service='
|
||||||
// })
|
// })
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
const devIp = '62.234.136.153'
|
const devIp = '62.234.136.153'
|
||||||
const devInterfacePORT = '8033'
|
const devInterfacePORT = '8033'
|
||||||
// 配置 idm 认证
|
// 配置 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 (测试环境登录)
|
// webLoginType : idm (线上统一登录) 、 webLoginType: dev (测试环境登录)
|
||||||
const webLoginType = 'dev'
|
const webLoginType = 'dev'
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
@@ -37,9 +37,8 @@ const processPort = '17210'
|
|||||||
|
|
||||||
*****************************************************************/
|
*****************************************************************/
|
||||||
// 生产环境配置
|
// 生产环境配置
|
||||||
const prodIp = '62.234.136.153'
|
const prodIp = '10.100.5.117'
|
||||||
const prodInterfacePORT = '8033'
|
const prodInterfacePORT = '4202'
|
||||||
|
|
||||||
|
|
||||||
// 判断环境
|
// 判断环境
|
||||||
const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp
|
const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp
|
||||||
|
|||||||
Reference in New Issue
Block a user