shish 3 лет назад
Родитель
Сommit
75baf540d7
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      app-mall/controllers/ItemController.php

+ 1 - 4
app-mall/controllers/ItemController.php

@@ -39,19 +39,16 @@ class ItemController extends BaseController
         //根据分类组装分类下的花材信息
         //中央ID
         $classIds = ItemClassClass::getGhsItemClassAll($this->mainId);
-
         $where['mainId'] = $this->mainId;
         if ($py) {
             $pyName = strtolower($py);
             $where['py'] = $pyName;
         }
-
-
         if (!empty($status)) {
             $where['status'] = $status;
         }
         $where['delStatus'] = $delStatus;
-
+        $where['frontHide'] = 0;
         $level = 0;
         $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
         $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);