feat: enhance wallet functionality and improve error handling

- Updated .env.example to include optional player site code configuration.
- Modified error messages in hall-bet-errors for better clarity.
- Improved the betting grid logic to handle invalid draw IDs and reload draws when necessary.
- Adjusted wallet components to differentiate between credit and main wallet balances, including new translations for credit-related terms.
- Enhanced wallet logs to support credit activity tracking and improved UI for displaying credit information.
This commit is contained in:
2026-06-05 18:01:11 +08:00
parent 3cd87ce014
commit 36adf8699d
21 changed files with 496 additions and 80 deletions

View File

@@ -28,7 +28,7 @@ export function mapTicketBetError(
"玩法参数不完整(如单双大小需选择位数与维度)。",
);
case 2006:
return msg("hall.ticketError.2006", "当前期号不可下注。");
return msg("hall.ticketError.2006", "期号无效或已切换,请刷新大厅后重试。");
case 2007:
return msg("hall.ticketError.2007", "该玩法暂不支持或缺少赔率配置。");
case 2008: