...
|
...
|
@@ -133,7 +133,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(),
|
|
|
'create_time' => time()
|
|
|
];
|
|
|
$data['qr_code'] = $this->createQrCode($data['mac_address']);
|
|
|
$data['qr_code'] = $this->createQrCode($data['name']);
|
|
|
$Equipment=new EquipmentModel();
|
|
|
try{
|
|
|
$Equipment->save($data);
|
...
|
...
|
|