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