This commit is contained in:
yangduo 2025-01-09 18:07:45 +08:00
parent 4f813d2227
commit 268bd8ce9b

View File

@ -573,7 +573,6 @@ class RechargeController
$itemarray['cur'] = $item['cur']; $itemarray['cur'] = $item['cur'];
$itemarray['award'] = $item['award']; $itemarray['award'] = $item['award'];
} }
array_push($recharge_activity, $itemarray);
break; break;
} }
} }
@ -587,6 +586,13 @@ class RechargeController
'award' => 0, 'award' => 0,
); );
} }
if (
$itemconf['type'] == 1 ||
$itemconf['type'] == 2
) {
$itemarray['cur'] /= 10;
$itemarray['target'] /= 10;
}
array_push($recharge_activity, $itemarray); array_push($recharge_activity, $itemarray);
} }