$.ajax({ |
type : "post" , |
dataType : "json" , |
url : contextpath + "/shopuser/retrievePayPassword/updatePassWordF_byMobile.do" , |
data : { |
id : id, |
password : password |
}, |
error : function (request) { |
$.messager.show({ |
title : 'Message' , |
msg : '注册出错,请稍后再试...' |
}); |
chk_image(); |
}, |
success : function (result) { |
if (result.success) { |
alert(result.msg); |
window.location = contextpath + "shopuser/myaccount/myInformation.do" ; |
} else { |
alert(result.msg); |
} |
} |
}); |