|
|
@@ -218,9 +218,9 @@ class ProductController extends BaseController
|
|
|
$field = 'id,py,name,classId,itemId,price,skPrice,hjPrice,stock';
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
} elseif ($requestType == 'changePrice') {
|
|
|
- //只有花悠星、勇记、丽子鲜花 显示隐藏按钮功能,其他人不显示。frontHide
|
|
|
+ //只有花悠星、勇记、丽子鲜花、锦绣 显示隐藏按钮功能,其他人不显示。frontHide
|
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
- $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779];
|
|
|
+ $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779, 8776];
|
|
|
} else {
|
|
|
$showFrontHide = [644];
|
|
|
}
|
|
|
@@ -244,12 +244,12 @@ class ProductController extends BaseController
|
|
|
} elseif ($requestType == 'itemList') {
|
|
|
//花材列表
|
|
|
if (getenv('YII_ENV', 'local') == 'production') {
|
|
|
- $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779];
|
|
|
+ $showFrontHide = [7615, 7756, 1496, 50, 4750, 7779, 8776];
|
|
|
} else {
|
|
|
$showFrontHide = [644];
|
|
|
}
|
|
|
if (in_array($this->mainId, $showFrontHide)) {
|
|
|
- //只有花悠星、勇记、丽子鲜花 显示隐藏按钮功能,其他人不显示。frontHide
|
|
|
+ //只有花悠星、勇记、丽子鲜花、绵绣 显示隐藏按钮功能,其他人不显示。frontHide
|
|
|
$field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,hjPrice,discountPrice,hjDiscountPrice,skDiscountPrice,stock,actualSold,status,presell,frontHide';
|
|
|
} else {
|
|
|
$field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,hjPrice,discountPrice,hjDiscountPrice,skDiscountPrice,stock,actualSold,status,presell';
|