mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-06 07:37:40 +00:00
update register...
This commit is contained in:
@ -106,7 +106,7 @@ $("#register").click(function(){
|
|||||||
}
|
}
|
||||||
$.ajax({ url:"<?=Url('user_public','user_check')?>", type:"GET", data:{user:username.val()}, dataType:"json",
|
$.ajax({ url:"<?=Url('user_public','user_check')?>", type:"GET", data:{user:username.val()}, dataType:"json",
|
||||||
success:function(rdata){
|
success:function(rdata){
|
||||||
alert("checkuser");
|
alert("checkusersuccess");
|
||||||
switch(rdata.status){
|
switch(rdata.status){
|
||||||
case "success":
|
case "success":
|
||||||
$.ajax({url:"<?=Url('user_public','mail_check')?>", type:"GET", data:{mail:email.val()}, dataType:"json",
|
$.ajax({url:"<?=Url('user_public','mail_check')?>", type:"GET", data:{mail:email.val()}, dataType:"json",
|
||||||
@ -141,8 +141,9 @@ $("#register").click(function(){
|
|||||||
alert(rdata.info);
|
alert(rdata.info);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
alert(7);
|
error:function(){
|
||||||
|
alert("checkusererror");
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user