|
|
@@ -153,7 +153,10 @@ class ItemController extends BaseController
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
$where['delStatus'] = $delStatus;
|
|
|
+ //商城端没有隐藏
|
|
|
$where['frontHide'] = 0;
|
|
|
+ //零售端没有隐藏
|
|
|
+ $where['frontUse'] = 0;
|
|
|
$level = 0;
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
|
|
|
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
|