Commit d862ce9b by 冷斌

踢人

parent 4fc65ab2
......@@ -30,33 +30,38 @@ $(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){
// 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(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;
}
})
})
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