1
0
mirror of https://gitee.com/coder-xiaomo/flashsale synced 2025-09-12 06:51:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加Metronic(作为LFS)

This commit is contained in:
2022-03-01 21:24:58 +08:00
parent 080ca33954
commit 465c454101
3280 changed files with 561969 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
/**
* reset.js
*/
$("button#submit").click(function(){
doReset();
});
$(document).keydown(function(e) {
if (e.keyCode == 13) {
doReset();
}
});
function doReset(){
var email = $("#resetForm #email").val();
if(email=="")
return;
$.ajax( {
url:'/home/users/resetpassword',// 跳转到 action
data:$('#resetForm').serialize(),
type:'POST',
processData:true,
contentType:"application/x-www-form-urlencoded",
success:function(data) {
alert(data.status);
if(data.status=="success"){
location.href = "/home/user/validate.jsp";
}else if(data.status=="fail"){
alert(data.data.errMessage);
}
},
error : function(e) {
// view("异常!");
alert(e);
}
});
}