Commit 22b41de1 by 冷斌

踢人

parent 3c7eaa62
...@@ -30,38 +30,34 @@ $(function(){ ...@@ -30,38 +30,34 @@ $(function(){
return !1; return !1;
} }
// isbuy=1; isbuy=1;
// $.ajax({ $.ajax({
// url:'/index.php?g=appapi&m=invite&a=getCode', url:'/index.php?g=appapi&m=invite&a=getCode',
// data:{mobile:userlogin}, data:{mobile:userlogin},
// type:'POST', type:'POST',
// dataType:'json', dataType:'json',
// success:function(data){ success:function(data){
// isbuy=0; isbuy=0;
// if(data.code==0){ if(data.code==0){
// layer.msg(data.msg,{},function(){ layer.msg(data.msg,{},function(){
// js_getCode.addClass('login_counting');
// login_counting();
// });
//
// return !1;
// }else{
// layer.msg(data.msg);
// return !1;
// }
// },
// error:function(){
// isbuy=0;
// layer.msg("请求失败");
// return !1;
// }
//
// })
layer.msg('发送成功',{},function(){
js_getCode.addClass('login_counting'); js_getCode.addClass('login_counting');
login_counting(); login_counting();
}); });
return !1;
}else{
layer.msg(data.msg);
return !1;
}
},
error:function(){
isbuy=0;
layer.msg("请求失败");
return !1;
}
})
}) })
var interval_reg; var interval_reg;
function login_counting(){ function login_counting(){
......
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