|
|
@ -729,7 +729,7 @@ class GameRebateService
|
|
|
|
foreach ($propItems as $item) {
|
|
|
|
foreach ($propItems as $item) {
|
|
|
|
if (isset($props[$item['id']])) {
|
|
|
|
if (isset($props[$item['id']])) {
|
|
|
|
$prop = $props[$item['id']];
|
|
|
|
$prop = $props[$item['id']];
|
|
|
|
$applyAmount += $prop['value'];
|
|
|
|
$applyAmount += ($prop['value'] * $item['num']);
|
|
|
|
$applyProps[] = [
|
|
|
|
$applyProps[] = [
|
|
|
|
'ref_id' => $prop['ref_id'],
|
|
|
|
'ref_id' => $prop['ref_id'],
|
|
|
|
'value' => $prop['value'],
|
|
|
|
'value' => $prop['value'],
|
|
|
|