@@ -305,8 +305,8 @@ class ProductController extends BaseController
$showAll = $get['showAll'] ?? 0;
if ($showAll == 0) {
$where['status'] = 1;
- $where['frontHide'] = 0;
}
+ $where['frontHide'] = 0;
$level = $ghs['giveLevel'] ?? 1;
$field = 'id,py,cover,name,ratio,classId,itemId,weight,smallUnit,bigUnit,smallUnit,smallRatio,ratioType,variety,price,hjPrice,hjDiscountPrice,actualSold,stock,stockWarning,discountPrice,presell,presellDate';