作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

equipment

@@ -117,11 +117,7 @@ class AdminEquipmentController extends AdminBaseController{ @@ -117,11 +117,7 @@ class AdminEquipmentController extends AdminBaseController{
117 117
118 //批量导出 118 //批量导出
119 public function batch_export(){ 119 public function batch_export(){
120 - $param=$this->request->param();  
121 - if (isset($param['ids'])) {  
122 - dump($param['ids']);  
123 - exit();  
124 - } 120 + $ids=$this->request->param('ids/a');
125 $data= Db::name('equipment')->where('id','in',$ids)->select(); 121 $data= Db::name('equipment')->where('id','in',$ids)->select();
126 122
127 // 导出Exl 123 // 导出Exl