修改增收补贴金额的错误

This commit is contained in:
luofei 2024-03-05 16:49:10 +08:00
parent 79d21421c0
commit ef4f3cedc6

View File

@ -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;
}