shish 3 tahun lalu
induk
melakukan
2add21bfe2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app-ghs/controllers/ProductController.php

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

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