connect to the main site

master
hhCandy 5 years ago
parent df8074065d
commit ee67af06b5
  1. 5
      clever-login.min.js

@ -124,7 +124,7 @@ function reg()
success:function(data){ success:function(data){
if (data.code == '0') { if (data.code == '0') {
//正常登录 //正常登录
alert('normal login'); window.location.href="/login/goBack.php";
return true; return true;
} }
else if(data.code=='1'){ else if(data.code=='1'){
@ -165,7 +165,8 @@ function reg()
success:function(data){ success:function(data){
if (data.code == '0') { if (data.code == '0') {
//正常登录 //正常登录
alert('normal login'); alert('注册成功啦!!');
window.location.href="/login/goBack.php";
return true; return true;
} }
else{ else{

Loading…
Cancel
Save