From 52ac8e6f0df617e97191f7ba3f2ba35ec8491bf1 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 16 Jun 2023 10:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/RebateService.php | 3 +++ 1 file changed, 3 insertions(+) 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) {