var _data={Id:id,Name:name};$.ajax({type: "post",url: "url",data: _data,success: function (data) {}})Id 和 Name就对应作为后台参数,名字需要保持一致哦