修改补贴金额

This commit is contained in:
luofei 2024-03-07 13:44:13 +08:00
parent b3fdae172b
commit 2bad727408

View File

@ -40,6 +40,7 @@ class OrderDeliveryListen implements ListenerInterface
public function getRate($orderAmount)
{
$orderAmount = min($orderAmount, 100000);
if ($orderAmount >= 1000 && $orderAmount < 5000) {
$rate = 0.05;
} elseif ($orderAmount >= 5000 && $orderAmount < 10000) {