Commit d862ce9b by 冷斌

踢人

parent 4fc65ab2
...@@ -30,33 +30,38 @@ $(function(){ ...@@ -30,33 +30,38 @@ $(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'); // js_getCode.addClass('login_counting');
login_counting(); // login_counting();
}); // });
//
return !1; // return !1;
}else{ // }else{
layer.msg(data.msg); // layer.msg(data.msg);
return !1; // return !1;
} // }
}, // },
error:function(){ // error:function(){
isbuy=0; // isbuy=0;
layer.msg("请求失败"); // layer.msg("请求失败");
return !1; // return !1;
} // }
//
// })
}) layer.msg(data.msg,{},function(){
js_getCode.addClass('login_counting');
login_counting();
});
}) })
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