示例
var req = { ids: [1, 2, 3] } $.ajax({ url: '/.../delete-by-ids', type: 'post', data: JSON.stringify(req), dataType: 'json', contentType: "application/json", traditional:true, success: function (data) { callback(data); }, error: function (data) { $.dialog("错误"); } })