mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-05 07:27:21 +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",
|
||||
success:function(rdata){
|
||||
alert("checkuser");
|
||||
alert("checkusersuccess");
|
||||
switch(rdata.status){
|
||||
case "success":
|
||||
$.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);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
alert(7);
|
||||
},
|
||||
error:function(){
|
||||
alert("checkusererror");
|
||||
})
|
||||
})
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user