shish %!s(int64=3) %!d(string=hai) anos
pai
achega
87f13dc452
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app-ghs/controllers/ProductController.php

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

@@ -228,7 +228,7 @@ class ProductController extends BaseController
                 $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
                 $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
             } elseif ($requestType == 'changePrice') {
             } elseif ($requestType == 'changePrice') {
                 //修改价格列表
                 //修改价格列表
-                $field = 'id,py,cover,name,cost,itemId,classId,skPrice,variety,price,stock,presell';
+                $field = 'id,py,cover,name,cost,itemId,classId,addPrice,skPrice,variety,price,stock,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::groupProductInfo($itemInfoData, $level);
                 $itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
             } elseif ($requestType == 'itemList') {
             } elseif ($requestType == 'itemList') {