ajax post 数组
ajax post 传递数组参数后台接收的为null,需要将其连接为字符串后传递
var url = "@Url.Action("CheckOutProduct", "ProductManage")";
var idsStr = ids.join(',');
$.post(url, { id: idsStr },
ajax post 传递数组参数后台接收的为null,需要将其连接为字符串后传递
var url = "@Url.Action("CheckOutProduct", "ProductManage")";
var idsStr = ids.join(',');
$.post(url, { id: idsStr },