|
|
@@ -569,8 +569,8 @@ class ProductClass extends BaseClass
|
|
|
$totalPrice = bcadd($totalPrice, $price, 2);
|
|
|
|
|
|
$tmp['name'] = $productData[$productId]['name'] ?? '';
|
|
|
- $tmp['smallUnit'] = $productData[$productId]['smallUnit'];
|
|
|
- $tmp['bigUnit'] = $productData[$productId]['bigUnit'];
|
|
|
+ $tmp['smallUnit'] = $productData[$productId]['smallUnit']??'';
|
|
|
+ $tmp['bigUnit'] = $productData[$productId]['bigUnit']??'';
|
|
|
$tmp['cover'] = $productData[$productId]['cover'] ?? '';
|
|
|
$tmp['itemId'] = $itemId;
|
|
|
$tmp['rank'] = $productData[$productId]['rank'] ?? '';
|