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