shish 3 жил өмнө
parent
commit
f3ee218e90

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

@@ -194,7 +194,7 @@ class ProductController extends BaseController
             $itemInfoData = ProductClass::kdItemGroup($itemInfoData, $level);
             $itemInfoData = ProductClass::kdItemGroup($itemInfoData, $level);
         } elseif ($requestType == 'itemList') {
         } elseif ($requestType == 'itemList') {
             //花材列表
             //花材列表
-            $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,actualSold,stockWarning,presell';
+            $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,actualSold,stockWarning,status,presell';
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             $itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
             $itemInfoData = ProductClass::itemListGroup($itemInfoData, $level);
         } elseif ($requestType == 'check') {
         } elseif ($requestType == 'check') {