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

interface

@@ -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();