$("#goodStar").val(numberPj[0]);
$("#serveStar").val(numberPj[1]);
$("#mailStar").val(numberPj[3]);
var da = $("#formJudge").serialize();
jQuery.ajax({
url:"/goods/addJudge.htm",
data:da,
type: "POST",
dataType:"json",
success:function(data){
if(data.success){
window.location.reload();
}
var requestdata= {
pagenum:pageNum,
pagesize:row
};
$.ajax( {
url : '${ctx}/rest/my/userinfolist.json',
contentType : 'application/json; charset=UTF-8',
async : false,
data :JSON.stringify(requestdata),
type : 'post',
success : function(data) {
var mymsg=data.info;
}
public @ResponseBody Map purse_lock(@RequestBody MyPurse mypurse) {
String xxx=mypurse.getXX();
}
MyPurse 你要傳的值的實體,實現get和set方法