|
@@ -139,10 +139,10 @@
|
|
|
} else if (res.status === 1) {
|
|
|
toastr.error(res.msg)
|
|
|
setTimeout(function () {
|
|
|
- if (baseUrl.includes('14.18.190.141')) {
|
|
|
- $(window).attr('location', 'http://14.18.190.141:28888');
|
|
|
+ if (baseUrl.includes('per.cs.se.androidscloud.com')) {
|
|
|
+ $(window).attr('location', 'http://per.cs.se.androidscloud.com');
|
|
|
} else {
|
|
|
- $(window).attr('location', 'http://www.androidscloud.com/');
|
|
|
+ $(window).attr('location', 'http://www.androidscloud.com');
|
|
|
}
|
|
|
}, 1000)
|
|
|
} else if (res.status === 11) {
|
|
@@ -177,8 +177,8 @@
|
|
|
function getHead(fileId) {
|
|
|
$('.head img').attr('src', '../static/img/invite/header-img.png');
|
|
|
if (fileId) {
|
|
|
- let urls = baseUrl == 'http://14.18.190.141:24380' ? 'http://110.53.221.195:8210' : 'https://wjzx.androidscloud.com:9091';
|
|
|
- $('.head img').attr('src', `${urls}/document/newFile/download/0/3dn9b4585511476691c6?fileKey=` + fileId);
|
|
|
+ let urls = baseUrl == 'http://per.cs.se.androidscloud.com' ? 'http://110.53.221.195:8210' : 'https://wjzx.androidscloud.com:9091';
|
|
|
+ $('.head img').attr('src', `${urls}/document/newFile/download/0/347905r86eb745a1sc38?fileKey=` + fileId);
|
|
|
}
|
|
|
}
|
|
|
function encrypt(word, keyStr) {
|