修改bug

master
ljl 1 year ago
parent 6c3c47898e
commit 91ebb95a9d

@ -482,9 +482,6 @@ class RebateService extends Service
$records = []; $records = [];
foreach ($items as $roleId => $amount) { foreach ($items as $roleId => $amount) {
$groupGifts = $gifts->where('group', $roleGiftGroupMap[$roleId] ?? 0); $groupGifts = $gifts->where('group', $roleGiftGroupMap[$roleId] ?? 0);
if ($roleId == '66036') {
var_dump($groupGifts->toArray());
}
$maxGift = null; $maxGift = null;
foreach ($groupGifts as $gift) { foreach ($groupGifts as $gift) {
if ($amount >= $gift->amount) { if ($amount >= $gift->amount) {

Loading…
Cancel
Save