shish 3 years ago
parent
commit
21e0774295
1 changed files with 0 additions and 7 deletions
  1. 0 7
      app-ghs/controllers/ProductController.php

+ 0 - 7
app-ghs/controllers/ProductController.php

@@ -130,13 +130,6 @@ class ProductController extends BaseController
         if (!empty($status)) {
         if (!empty($status)) {
             $where['status'] = $status;
             $where['status'] = $status;
         }
         }
-        if (getenv('YII_ENV') == 'production') {
-            //丽子鲜花 翔安店 显示有库存的花材(有可能没上架)(他要开自己能看,客户看不到的商品)
-            if ($this->mainId == 1496) {
-                unset($where['status']);
-            }
-            $where['stock>'] = 0;
-        }
         $where['delStatus'] = $delStatus;
         $where['delStatus'] = $delStatus;
 
 
         //客户等级
         //客户等级