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:
@@ -22,6 +22,9 @@ LOTTERY_API_UPSTREAM=http://127.0.0.1:8000
|
||||
# 可选:入口授权失败时返回主站(build 前设置,会打进 JS)
|
||||
# NEXT_PUBLIC_MAIN_SITE_URL=http://localhost:5173
|
||||
|
||||
# 可选:代理玩家登录时隐式携带的站点编号(不配则后端用 LOTTERY_DEFAULT_SITE_CODE)
|
||||
# NEXT_PUBLIC_PLAYER_SITE_CODE=default_site
|
||||
|
||||
# Reverb:本地全栈联调时取消注释,并 php artisan reverb:start;不配则走轮询
|
||||
# NEXT_PUBLIC_REVERB_APP_KEY=
|
||||
# NEXT_PUBLIC_REVERB_HOST=127.0.0.1
|
||||
|
||||
Reference in New Issue
Block a user