Commit 4170b11f authored by 罗超's avatar 罗超

no message

parent 06be7898
......@@ -279,7 +279,15 @@ export default {
if(type!=1){
type = 2
}
const href = this.domainManager().travelUrl+'?token=' + this.getLocalStorage().token +'&type=' +type
let href
let url
if(this.isOnline()){
url = 'http://yx.oytour.com/#/'
href = url +'automaticLogin?token=' + this.getLocalStorage().token +'&type=' +type
}else{
url = 'http://www.test.com:8081/#/'
href = url+'automaticLogin?token=' + this.getLocalStorage().token +'&type=' +type
}
window.open(href);
},
// 操作日志
......
......@@ -48,8 +48,6 @@ export default {
ViittoFileUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://staticfile.oytour.com" : 'http://192.168.10.214:8130',
UploadUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://uploadfile.oytour.com" : "http://192.168.10.214:8120",
LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi",
// 旅游erp系统自动登录路由
travelUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://yx.oytour.com/#/automaticLogin" : "http://www.test.com:8081/#/automaticLogin",
};
return obj;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment