浏览代码

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();