@@ -147,8 +147,7 @@ class ProductController extends BaseController
$where['delStatus'] = $delStatus;
$level = 0;
- $field = 'id,py,cover,name,ratio,cost,addPrice,classId,skMore,skPrice,itemId,smallUnit,smallRatio,presellDate,bigUnit,smallUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell';
- $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
+ $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
$data = ProductService::assembleData($classIds, $itemInfoData, true);