var idcobj={
"name":"123",
"weburl":"456"
};
$.ajax({
contentType:"application/json",
type:"POST",
url:"/shop/ajaxtest",
data:JSON.stringify(idcobj),
dataType: "json",
success: function(data){
console.info(data);
}
});
private test idcobj;
public String test() {
return SUCCESS;
}
网友评论