ThinkPHP实现批量删除数据原理很简单,只需在模板页面里面写上<input name=id[] type=checkbox value={$vo.id} class="noborder">这样传过来就是一个数组,action的删除函数del()如下: