正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -168,6 +168,7 @@ class AdminEquipmentController extends AdminBaseController{ | @@ -168,6 +168,7 @@ class AdminEquipmentController extends AdminBaseController{ | ||
168 | 'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(), | 168 | 'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(), |
169 | 'create_time' => time() | 169 | 'create_time' => time() |
170 | ]; | 170 | ]; |
171 | + dump($data); | ||
171 | $data['qr_code'] = $this->createQrCode($data['name']); | 172 | $data['qr_code'] = $this->createQrCode($data['name']); |
172 | //查询设备是否已存在 | 173 | //查询设备是否已存在 |
173 | $is_equipment=Db::name('equipment')->where(['name'=>$data['name'],'is_delete'=>0])->count(); | 174 | $is_equipment=Db::name('equipment')->where(['name'=>$data['name'],'is_delete'=>0])->count(); |
-
请 注册 或 登录 后发表评论