1.优化下注接口/api/game/betPlace

2.优化后台/admin/config/gameConfig中新增压注筹码配置
This commit is contained in:
2026-05-14 10:37:21 +08:00
parent c7fc754573
commit 932a433613
10 changed files with 392 additions and 41 deletions

View File

@@ -12,6 +12,12 @@ export default {
'field_tip bet_seconds': 'How many seconds betting stays open in each period',
'field pick_max_number_count': 'Max numbers per ticket',
'field_tip pick_max_number_count': 'Maximum amount of selectable numbers per ticket',
'field bet_chips': 'Quick chip amounts',
'field_tip bet_chips': 'Exactly 6 tiers (ids 16, fixed). Edit amounts only; stored as JSON for lobbyInit.',
bet_chips_colon: ': ',
bet_chips_validate_slot: 'Chip tier {slot} must be a number greater than 0 (prefer ≥ min bet per number)',
'field default_bet_chip_id': 'Default selected chip id',
'field_tip default_bet_chip_id': 'Default highlighted chip id (16), must map to a valid amount in bet_chips',
'field min_bet_per_number': 'Min bet per number',
'field_tip min_bet_per_number': 'Minimum bet amount per selected number',
'field max_bet_per_number': 'Max bet per number',

View File

@@ -12,6 +12,12 @@ export default {
'field_tip bet_seconds': '每一局允许下注的时长(秒)',
'field pick_max_number_count': '单注最多号码个数',
'field_tip pick_max_number_count': '单注最多可选号码数量',
'field bet_chips': '快捷筹码面额',
'field_tip bet_chips': '固定 6 档(标识 16 不可改),仅可修改每档面额;保存时写入为 JSON与移动端 lobbyInit 一致',
bet_chips_colon: '',
bet_chips_validate_slot: '第 {slot} 档筹码面额须为大于 0 的数字(建议 ≥ 单号最小下注额)',
'field default_bet_chip_id': '默认选中筹码',
'field_tip default_bet_chip_id': '大厅默认高亮的筹码标识,须为 16 且对应 bet_chips 有效面额',
'field min_bet_per_number': '单号最小下注额',
'field_tip min_bet_per_number': '每个号码允许的最小下注金额',
'field max_bet_per_number': '单号最大下注额',