|
|
|
@ -353,14 +353,19 @@
|
|
|
|
|
|
|
|
|
|
function getGeekSsoLoginUrl() {
|
|
|
|
|
var url = "http://mch.dev.geekforbest.com/#/sso_login?token=";
|
|
|
|
|
$http.get("/client/partner_info/incremental_service/RP跨境商城/login_token").then(function (res) {
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/client/partner_info/incremental_service/RP跨境商城/login_token',
|
|
|
|
|
method: 'get',
|
|
|
|
|
success: function (res) {
|
|
|
|
|
url += res.data.token;
|
|
|
|
|
window.open(url, '_blank');
|
|
|
|
|
location.href = '/index.html';
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
},
|
|
|
|
|
error: function (resp) {
|
|
|
|
|
console.log(resp.data.message)
|
|
|
|
|
location.href = '/index.html';
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$('#forgetPassword-btn').click(function () {
|
|
|
|
|