shish 2 лет назад
Родитель
Сommit
bbdd5fa530
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app-ghs/controllers/ProductController.php

+ 3 - 3
app-ghs/controllers/ProductController.php

@@ -220,7 +220,7 @@ class ProductController extends BaseController
         } elseif ($requestType == 'changePrice') {
             //只有花悠星、勇记、丽子鲜花 显示隐藏按钮功能,其他人不显示。frontHide
             if (getenv('YII_ENV', 'local') == 'production') {
-                $showFrontHide = [7615, 7756, 1496, 50, 4750];
+                $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779];
             } else {
                 $showFrontHide = [644];
             }
@@ -244,7 +244,7 @@ class ProductController extends BaseController
         } elseif ($requestType == 'itemList') {
             //花材列表
             if (getenv('YII_ENV', 'local') == 'production') {
-                $showFrontHide = [7615, 7756, 1496, 50, 4750];
+                $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779];
             } else {
                 $showFrontHide = [644];
             }
@@ -300,7 +300,7 @@ class ProductController extends BaseController
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::breakItemGroup($itemInfoData, $level);
         } elseif ($requestType == 'part') {
-            //报损花材
+            //拆散花材
             $field = 'id,py,cover,name,itemId,classId,variety,price,discountPrice,stock,stockWarning,presell,ratioType,smallUnit,bigUnit,ratio';
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::partItemGroup($itemInfoData, $level);