额,舰长签到直接验证的session? [ 求助交流 ]
// 签到
$(".btn-registration").click(function(){
var button = $(this);
$.ajax({
url: "/registration",
dataType: 'json',
success: function(html){
button.html("<span class=\"fa fa-calendar disabled\"></span> 今日已签到<br />已连续" + html.days + "天");
},
error: function (XMLHttpRequest, textStatus) {
$('#modal').modal({ remote: '/login'});
this.abort();
}
});
return false;
});
共 4 条回复
胖纸囧 四川成都
注册时间:2013-07-17
最后登录:2017-12-27
在线时长:221小时19分
最后登录:2017-12-27
在线时长:221小时19分
- 粉丝185
- 金钱21126
- 威望150
- 积分24836