|
@@ -307,7 +307,7 @@ class ProductController extends BaseController
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$level = $ghs['giveLevel'] ?? 0;
|
|
$level = $ghs['giveLevel'] ?? 0;
|
|
|
- $field = 'id,py,cover,name,ratio,skMore,itemId,smallUnit,smallRatio,presellDate,bigUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';
|
|
|
|
|
|
|
+ $field = 'id,py,cover,name,ratio,cost,skMore,itemId,smallUnit,smallRatio,presellDate,bigUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
|
|
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
|
|
|
|
|
|