diff --git a/app/controller/api/server/Store.php b/app/controller/api/server/Store.php index 0f8c6d82..019fb13f 100644 --- a/app/controller/api/server/Store.php +++ b/app/controller/api/server/Store.php @@ -118,7 +118,7 @@ class Store extends BaseController if (!empty($userConsumption) && in_array($merchant['type_id'], $item['type_id'])) { $nextItem = $consumption['config'][$k + 1] ?? $item; $saleTarget = $nextItem['amount']; - $subsidyAmount = $item['subsidy']; + $subsidyAmount = $nextItem['subsidy']; $purchaseTarget = bcmul($saleTarget, 0.5, 2); break; }