function send(){
$.ajax({
type : 'GET',
url : "${ctx}/retrievePass/sendMeg/"+$("#userCode").val(),
dataType : 'json',
success : function(data){
}
});
}
找了半天,发现是type的问题,把GET改成POST就好了,留下以免下次忘记。
function send(){
$.ajax({
type : 'GET',
url : "${ctx}/retrievePass/sendMeg/"+$("#userCode").val(),
dataType : 'json',
success : function(data){
}
});
}
找了半天,发现是type的问题,把GET改成POST就好了,留下以免下次忘记。