@@ -244,6 +244,7 @@ class ProductController extends BaseController
->andWhere('`stock`<`stockWarning`')
->andWhere("delStatus=0")
->select($field)->asArray()->all();
+ $itemInfoData = ProductClass::cgItemGroup($itemInfoData, $level);
} else {
//通用
$field = 'id,py,cover,name,ratio,cost,addPrice,classId,skMore,skPrice,itemId,smallUnit,smallRatio,bigUnit,smallUnit,ratioType,variety,price,stock,stockWarning,discountPrice,presell,presellDate';