@@ -232,7 +232,12 @@ class ProductController extends BaseController
$itemInfoData = ProductClass::kdItemGroup($itemInfoData, $level);
} elseif ($requestType == 'itemList') {
//花材列表
- if (in_array($this->mainId, [7615, 7756])) {
+ if (getenv('YII_ENV', 'local') == 'production') {
+ $showFrontHide = [7615, 7756];
+ }else{
+ $showFrontHide = [644];
+ }
+ if (in_array($this->mainId, $showFrontHide)) {
//只有花悠星和勇记显示隐藏按钮功能,其他人不显示。frontHide
$field = 'id,py,cover,name,cost,itemId,classId,skPrice,bigUnit,smallUnit,ratio,ratioType,variety,price,discountPrice,skMore,stock,actualSold,stockWarning,status,presell,frontHide';
} else {