shish 3 лет назад
Родитель
Сommit
d0037b09fd
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app-ghs/controllers/ProductController.php

+ 1 - 0
app-ghs/controllers/ProductController.php

@@ -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';