fix login $http

master
luoyang 5 years ago
parent 7d3e242295
commit 34947478c7

@ -357,12 +357,12 @@
url: '/client/partner_info/incremental_service/RP跨境商城/login_token', url: '/client/partner_info/incremental_service/RP跨境商城/login_token',
method: 'get', method: 'get',
success: function (res) { success: function (res) {
url += res.data.token; url += res.token;
window.open(url, '_blank'); window.open(url, '_blank');
location.href = '/index.html'; location.href = '/index.html';
}, },
error: function (resp) { error: function (resp) {
console.log(resp.data.message) console.log(resp.message)
location.href = '/index.html'; location.href = '/index.html';
} }
}) })

@ -338,12 +338,12 @@
url: '/client/partner_info/incremental_service/RP跨境商城/login_token', url: '/client/partner_info/incremental_service/RP跨境商城/login_token',
method: 'get', method: 'get',
success: function (res) { success: function (res) {
url += res.data.token; url += res.token;
window.open(url, '_blank'); window.open(url, '_blank');
location.href = '/index.html'; location.href = '/index.html';
}, },
error: function (resp) { error: function (resp) {
console.log(resp.data.message) console.log(resp.message)
location.href = '/index.html'; location.href = '/index.html';
} }
}) })

Loading…
Cancel
Save