更新spudao 方法search p.status=1

This commit is contained in:
mkm 2023-01-03 16:38:19 +08:00
parent e38a650f78
commit 2b02111bc7

View File

@ -160,6 +160,7 @@ class SpuDao extends BaseDao
else if ($where['hot_type'] == 'good') $query->where('P.is_benefit', 1);
});
$query->where('P.is_show','=',1);
$query->where('P.status','=',1);
return $query->order($order);
}