正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -133,7 +133,7 @@ class AdminEquipmentController extends AdminBaseController{ | @@ -133,7 +133,7 @@ class AdminEquipmentController extends AdminBaseController{ | ||
133 | 'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(), | 133 | 'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(), |
134 | 'create_time' => time() | 134 | 'create_time' => time() |
135 | ]; | 135 | ]; |
136 | - $data['qr_code'] = $this->createQrCode($data['mac_address']); | 136 | + $data['qr_code'] = $this->createQrCode($data['name']); |
137 | $Equipment=new EquipmentModel(); | 137 | $Equipment=new EquipmentModel(); |
138 | try{ | 138 | try{ |
139 | $Equipment->save($data); | 139 | $Equipment->save($data); |
-
请 注册 或 登录 后发表评论