Commit 22b41de1 by 冷斌

踢人

parent 3c7eaa62
......@@ -30,38 +30,34 @@ $(function(){
return !1;
}
// isbuy=1;
// $.ajax({
// url:'/index.php?g=appapi&m=invite&a=getCode',
// data:{mobile:userlogin},
// type:'POST',
// dataType:'json',
// success:function(data){
// isbuy=0;
// if(data.code==0){
// 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;
// }
//
// })
isbuy=1;
$.ajax({
url:'/index.php?g=appapi&m=invite&a=getCode',
data:{mobile:userlogin},
type:'POST',
dataType:'json',
success:function(data){
isbuy=0;
if(data.code==0){
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');
login_counting();
});
})
var interval_reg;
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