"orderNos":orderNos,
"cSalesPlatform":cSalesPlatform,
"cMerchant":cMerchant
}
$.ajax({
url:"${APP_PATH}/cancel",
data: params,
dataType: "json",
type:"POST",
success:function(result){
alert(result.msg)
//回到当前页面
to_page(currentPage)
}
})
@ResponseBody
@RequestMapping(value="/cancel",method=RequestMethod.POST)
public BaseResponse pushOrderByCancel(@RequestParam(value = "orderNos") String orderNos,@RequestParam(value = "cSalesPlatform") String cSalesPlatform,
@RequestParam(value = "cMerchant") String cMerchant){
}
使用 &连接各个参数示例:
$.ajax({
url:"../teachingMgt/checkScore",
type : "post",
async : true,
data:"studentId="+stuId+"&subjectId="+subId,
dataType : "json",
success: function(data){
chart.setOption(option)
chart.setOption(data)
$("#myModal1").modal("show")
}
})
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)