NoteStar 5 anni fa
parent
commit
69c90bc0a5

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

@@ -1067,6 +1067,7 @@ class ProductMysqldb extends Service implements ProductInterface
                     ->select($select)
                     ->where($where)
                     ->orderBy(['score' => SORT_DESC])
+                    //->limit(1500)   MYSQL 5.7 版本
                     ;
         // 总数
         $product_total_count = $this->_productModel->find()