|
|
@@ -273,6 +273,8 @@ class PlayerControl extends BaseController
|
|
|
$item['game_title'] = $gameInfo['title'] ?? '';
|
|
|
$item['game_type_text'] = CommonUtils::getGameTypeConfig($gameInfo['game_platform']);
|
|
|
$item['balance'] = CommonUtils::convertBalance($userBalanceConfig[$player_id] ?? 0, false);
|
|
|
+ $item['bet_amount'] = CommonUtils::convertBalance($item['bet_amount'] ?? 0, false);
|
|
|
+ $item['total_win_amount'] = CommonUtils::convertBalance($item['total_win_amount'] ?? 0, false);
|
|
|
$item['control_rpt'] = bcdiv($item['control_rpt'], 100, 2) . "%";
|
|
|
$item['old_rtp'] = bcdiv($item['old_rtp'], 100, 2) . "%";
|
|
|
$item['now_rtp'] = bcdiv($rtpConfigList[$one_key] ?? 0, 100, 2) . "%";
|