...
|
...
|
@@ -166,7 +166,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
$img = Db::name('equipment')->where('id',$v['id'])->find();
|
|
|
// 图片生成
|
|
|
$objDrawing[$k] = new PHPExcel_Worksheet_Drawing();
|
|
|
$objDrawing[$k]->setPath('./Upload/'.$img['qr_code']);
|
|
|
$objDrawing[$k]->setPath('./upload/'.$img['qr_code']);
|
|
|
// 设置宽度高度
|
|
|
$objDrawing[$k]->setHeight(80);//照片高度
|
|
|
$objDrawing[$k]->setWidth(80); //照片宽度
|
...
|
...
|
|