shish há 2 anos atrás
pai
commit
dccb974991
1 ficheiros alterados com 2 adições e 1 exclusões
  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::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
         $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
         $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
 
 
-        $data = self::assembleData($classIds, $itemInfoData, true);
+        $respond = self::assembleData($classIds, $itemInfoData, true);
+        $data = $respond['classItem']??[];
 
 
         $formatData = [];
         $formatData = [];