提供一种解决方法,如果没有更好的就用下面这个吧:前端js用array存储id后 array.toString返回的是1,2,3(数字中间有英文逗号)这样的数据,传到后台后delete from xxx where id in ();括号里不就正好是这样格式吗?