Commit 0832e5fb authored by liyadong's avatar liyadong

update 跳转绑码页面

parent 54338fd7
...@@ -22,6 +22,9 @@ card.ajax = function (data, callback) { ...@@ -22,6 +22,9 @@ card.ajax = function (data, callback) {
if(res.error == 1019){ if(res.error == 1019){
location.href="/login"; location.href="/login";
return false; return false;
}else if(res.error == 403 ){
location.href = "/bind/ald/code"
return false;
} }
callback(res); callback(res);
} }
......
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
$('.dialog').fadeOut(); $('.dialog').fadeOut();
}); });
$('.btn-start').click(function (){ $('.btn-start').click(function (){
card.handleGetServer();
$('.dialog').fadeIn(); $('.dialog').fadeIn();
}); });
card.handleGetServer();
}) })
</script> </script>
</body> </body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment