소스 검색

shai xuan num

NoteStar 5 년 전
부모
커밋
b7889983cc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

+ 1 - 0
vendor/fancyecommerce/fecshop/services/product/ProductMysqldb.php

@@ -1165,6 +1165,7 @@ class ProductMysqldb extends Service implements ProductInterface
 
         $product_attrs = $this->_productModel->find()
                     ->select('attr_group_info')
+                    ->groupBy('spu')
                     ->where($where)->asArray()
                     ->all();