前端:
let formData = $('#form1,#form2,#form3').serialize();
$.post("/url",formData,function(result){
alert(result);
});
后端(用的SpringBoot):
@PostMapping("url")
public CustomDomain calculate(Form1 form1, Form2 form2, Form3 form3){
return customFunction.cal(form1,form2,form3);
}