Parcourir la source

客户端显示问题

shish il y a 3 ans
Parent
commit
cb0beb1a3c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      app-hd/controllers/ProductController.php

+ 1 - 0
app-hd/controllers/ProductController.php

@@ -300,6 +300,7 @@ class ProductController extends BaseController
             $where['mainId'] = $mainId;
             $where['mainId'] = $mainId;
             $where['delStatus'] = 0;
             $where['delStatus'] = 0;
             $where['status'] = 1;
             $where['status'] = 1;
+            $where['frontHide'] = 0;
 
 
             $level = $ghs['giveLevel'] ?? 0;
             $level = $ghs['giveLevel'] ?? 0;
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");