|
@@ -24,7 +24,7 @@ function login() {
|
|
|
window.location.href = "/enterprise";
|
|
window.location.href = "/enterprise";
|
|
|
},
|
|
},
|
|
|
error: function (error) {
|
|
error: function (error) {
|
|
|
- alert('账号或密码错误');
|
|
|
|
|
|
|
+ alert(error.responseText);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -59,7 +59,7 @@ function register() {
|
|
|
window.location.href = "/signIn";
|
|
window.location.href = "/signIn";
|
|
|
},
|
|
},
|
|
|
error: function (error) {
|
|
error: function (error) {
|
|
|
- alert('注册失败');
|
|
|
|
|
|
|
+ alert(error.responseText);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
@@ -165,7 +165,7 @@ function resetPwd() {
|
|
|
$('#forgetPwd').modal('hide');
|
|
$('#forgetPwd').modal('hide');
|
|
|
},
|
|
},
|
|
|
error: function (error) {
|
|
error: function (error) {
|
|
|
- alert('邮件发送失败,请重新填写');
|
|
|
|
|
|
|
+ alert(error.responseText);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|