shish 3 yıl önce
ebeveyn
işleme
21e0774295
1 değiştirilmiş dosya ile 0 ekleme ve 7 silme
  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)) {
             $where['status'] = $status;
         }
-        if (getenv('YII_ENV') == 'production') {
-            //丽子鲜花 翔安店 显示有库存的花材(有可能没上架)(他要开自己能看,客户看不到的商品)
-            if ($this->mainId == 1496) {
-                unset($where['status']);
-            }
-            $where['stock>'] = 0;
-        }
         $where['delStatus'] = $delStatus;
 
         //客户等级