|
|
@@ -342,8 +342,10 @@ class ItemController extends BaseController
|
|
|
$smallUnit = $ptItemInfo[$ptItemId]['smallUnit'] ?? '支';
|
|
|
$bigUnitId = $ptItemInfo[$ptItemId]['bigUnitId'] ?? 1;
|
|
|
$smallUnitId = $ptItemInfo[$ptItemId]['smallUnitId'] ?? 2;
|
|
|
+ $cover = $ptItemInfo[$ptItemId]['cover'] ?? 'default-img.png';
|
|
|
|
|
|
$v['ratio'] = $ratio;
|
|
|
+ $v['cover'] = $cover;
|
|
|
$v['shelfLife'] = $shelfLife;
|
|
|
$v['ratioType'] = $ratioType;
|
|
|
$v['variety'] = $variety;
|