Ver código fonte

客户端隐藏

shish 3 anos atrás
pai
commit
75baf540d7
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1 4
      app-mall/controllers/ItemController.php

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

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