前端JS代码: var conditons = []; var test1 = new Object(); test1.name=1; test1.id=2; var test2 = new Object(); test2.name=1; test2.id=2; conditons.push(test1); conditons.push(test2); $(function(){ $.ajax({ async:false, type:'post', url:'链接', dat