WIN-2308041133\Administrator 5 meses atrás
pai
commit
3294683cbf

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

@@ -36,7 +36,6 @@ class SpuDao extends  BaseDao
      */
     public function search($where)
     {
-        var_dump($where['type']);die();
         $order = 'P.sort DESC';
         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'])){

+ 0 - 1
app/common/repositories/store/product/SpuRepository.php

@@ -193,7 +193,6 @@ class SpuRepository extends BaseRepository
         $where['spu_status'] = 1;
         $where['mer_status'] = 1;
         $where['not_type'] = [20];
-        var_dump($where['type']);
         $query = $this->dao->search($where);
         $query->with([
             'merchant' => function ($query) {