@@ -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'])){
@@ -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) {