WIN-2308041133\Administrator 5 tháng trước cách đây
mục cha
commit
f90052f745

+ 1 - 0
app/common/dao/store/product/SpuDao.php

@@ -36,6 +36,7 @@ class SpuDao extends  BaseDao
      */
      */
     public function search($where)
     public function search($where)
     {
     {
+        var_dump($where['type']);die();
         $order = 'P.sort DESC';
         $order = 'P.sort DESC';
         if(isset($where['order']) && $where['order'] !== 'range_asc'){
         if(isset($where['order']) && $where['order'] !== 'range_asc'){
             if(in_array($where['order'], ['is_new', 'price_asc', 'price_desc', 'rate', 'sort', 'sales','ot_price','ot_price_desc','ot_price_asc'])){
             if(in_array($where['order'], ['is_new', 'price_asc', 'price_desc', 'rate', 'sort', 'sales','ot_price','ot_price_desc','ot_price_asc'])){