ajax请求方式为:<script type="text/javascript">var BASE_PATH = '[[${#httpServletRequest.getContextPath()}]]';</script>function PdfFint(){ console.log(BASE_PATH); console.log(BASE_PATH+"manage/pdf/exportpdf");
$.ajax({ url:BASE_PATH+'/manage/pdf/exportpdf', data:{"PlayerId":1,"TeamPlayer":1}, type:'post', success:function(data){
layerMessage("PDF文档生成成功");
}
});
}请大神解答,应如何解决,并如如何实现请求后台,谢谢!
添加回答
举报
0/150
提交
取消