...
|
...
|
@@ -83,12 +83,20 @@ $loginBtn.on('touchstart', function() { |
|
|
password: pwd
|
|
|
},
|
|
|
success: function(data) {
|
|
|
var res;
|
|
|
|
|
|
if (data.code === 200) {
|
|
|
res = data.data;
|
|
|
showErrTip('登录成功');
|
|
|
|
|
|
$.ajax({
|
|
|
url: res.session,
|
|
|
dataType: 'jsonp'
|
|
|
});
|
|
|
|
|
|
//1000ms后跳转页面
|
|
|
setTimeout(function() {
|
|
|
location.href = data.data;
|
|
|
location.href = res.href;
|
|
|
}, 1000);
|
|
|
} else {
|
|
|
showErrTip(data.message);
|
...
|
...
|
|