Fix
parent
d8c1fe3514
commit
9ea2f04ac2
|
|
@ -405,7 +405,7 @@ class OrderProcessCommand extends Command
|
|||
// 同等级管理津贴最多给三次
|
||||
if ($last === null || $dealer->lvl->value > $last->lvl->value) {
|
||||
if ($ranking < 3 && $dealer->lvl === DealerLvl::Top) {
|
||||
if ($secondarySubsidyRule = $rules->get(DealerLvl::Secondary)) {
|
||||
if ($secondarySubsidyRule = $rules->get(DealerLvl::Secondary->value)) {
|
||||
$key = 'price_'.(1 + $ranking).'st';
|
||||
|
||||
$secondarySubsidy = $secondarySubsidyRule->{$key};
|
||||
|
|
|
|||
Loading…
Reference in New Issue