shish 2 лет назад
Родитель
Сommit
dccb974991
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      biz-ghs/product/services/ProductService.php

+ 2 - 1
biz-ghs/product/services/ProductService.php

@@ -401,7 +401,8 @@ class ProductService extends BaseService
         $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
         $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
 
-        $data = self::assembleData($classIds, $itemInfoData, true);
+        $respond = self::assembleData($classIds, $itemInfoData, true);
+        $data = $respond['classItem']??[];
 
         $formatData = [];