|
|
@@ -21,7 +21,7 @@ var app = {
|
|
|
}
|
|
|
var str = args[1];
|
|
|
args = str.split("&");
|
|
|
- var data = {appId:"", t:-1, p:"", u:null, returnURL:"http://www.ubtob.com", baseURL:null};
|
|
|
+ var data = {appId:"", t:-1, p:"", u:null, returnURL:"https://www.usoftchina.com/", baseURL:null};
|
|
|
for(var i=0; i<args.length; i++){
|
|
|
str = args[i];
|
|
|
if(str.length <= 1) continue;
|
|
|
@@ -35,7 +35,7 @@ var app = {
|
|
|
toastr.error(message, title, {
|
|
|
positionClass : 'toast-' + (position || 'top-center')
|
|
|
});
|
|
|
- window.location.href="http://www.ubtob.com";
|
|
|
+ window.location.href="https://www.usoftchina.com/";
|
|
|
},
|
|
|
returnHref: function () {
|
|
|
var url = $('#body').val();
|
|
|
@@ -131,7 +131,7 @@ var app = {
|
|
|
success: function (msg) {
|
|
|
app.loading(false);
|
|
|
if(msg.success) {
|
|
|
- $('#body').val(msg.content.returnUrl || 'http://www.ubtob.com') ;
|
|
|
+ $('#body').val(msg.content.returnUrl || 'https://www.usoftchina.com/') ;
|
|
|
// // 为了使众创登陆成功,加了一个延迟
|
|
|
app.returnCount = 0;
|
|
|
app.count = msg.content.count;
|
|
|
@@ -142,7 +142,7 @@ var app = {
|
|
|
if ($('input[name="returnUrl"]').val() == "http://www.usoftmall.com/login/proxy"){
|
|
|
$('input[name="returnUrl"]').val("http://www.usoftmall.com/logout/proxy");
|
|
|
}
|
|
|
- window.location.href = $('input[name="returnUrl"]').val() || 'http://www.ubtob.com';
|
|
|
+ window.location.href = $('input[name="returnUrl"]').val() || 'https://www.usoftchina.com/';
|
|
|
// app.error(msg.errMsg);
|
|
|
}
|
|
|
},
|
|
|
@@ -150,7 +150,7 @@ var app = {
|
|
|
if (formData.returnURL == "http://www.usoftmall.com/login/proxy"){
|
|
|
formData.returnURL = "http://www.usoftmall.com/logout/proxy";
|
|
|
}
|
|
|
- window.location.href = formData.returnURL || 'http://www.ubtob.com';
|
|
|
+ window.location.href = formData.returnURL || 'https://www.usoftchina.com/';
|
|
|
app.loading(false);
|
|
|
// app.error(res);
|
|
|
}
|