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