diff --git a/app/Service/RebateService.php b/app/Service/RebateService.php index 598a502..0945b27 100644 --- a/app/Service/RebateService.php +++ b/app/Service/RebateService.php @@ -482,6 +482,9 @@ class RebateService extends Service $records = []; foreach ($items as $roleId => $amount) { $gifts = $gifts->where('group', $roleGiftGroupMap[$roleId] ?? 0); + if ($roleId == '66036') { + var_dump($gifts->toArray()); + } $maxGift = null; foreach ($gifts as $gift) { if ($amount >= $gift->amount) {