function saveReportData(fileName,fileID) {
console.log("fileName="+fileName);
$.ajax({
type : 'post',
url : '${ctx}/reportmanage/specialReportManage/saveReportData',
data:{'srFileName':fileName,"srFileID":fileID},
traditional : true,
async : false,
success : function(result){
},
error : function(result){
}
});
}
接收方式两种
public String saveReportData(@RequestParam(value = "srFileName", defaultValue = "") String FileName,
@RequestParam(value = "srFileID", defaultValue = "") String FileID) throws IOException {
specialReportManageService.saveReportData(FileName, FileID);
return "";
}
specialReportManageService.saveReportData(FileName, FileID);
return "";
}
联系客服