@@ -307,7 +307,8 @@ class ProductController extends BaseController
}
$level = $ghs['giveLevel'] ?? 0;
- $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
+ $field = 'id,py,cover,name,ratio,skMore,itemId,smallUnit,smallRatio,presellDate,bigUnit,ratioType,variety,price,stock,bigNum,smallNum,stockWarning,discountPrice,presell,prePrice,presellDateShow,bigPrice,smallPrice';
+ $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
$data = ProductService::assembleData($classIds, $itemInfoData, true);