testadmin
8edc071997
fix: 倒计时卡住根因修复 — Redis TTL缓冲+前端watchdog兜底
...
根因:CountdownService用while(sleep(1))阻塞循环推送倒计时,
Redis key TTL=wait_time,3台同时运行时worker争用导致循环慢于
Redis过期时间,key先过期→循环中断→倒计时冻结在当前秒数。
修复:
1. Redis TTL加10秒缓冲(waitTime+10),防止key提前过期
2. 前端加watchdog兜底:服务端2秒没推送就本地继续倒计时
2026-05-19 14:25:48 +08:00
testadmin
aa74a6edc1
fix: 荷官端卡住根因修复 — endBet防抖+状态同步+WaybillRemind越界
...
1. end_bet_error翻译从'停止成功'改为'已停止下注'(误导荷官以为操作成功)
2. endBet()加2秒防抖,防止连按Enter导致重复请求
3. Numpad 0加状态守卫,只在bet_status=1时才调endBet
4. endBet失败时前端自动同步服务端bet_status,不再弹错误框
5. 后端end_bet_error响应附带当前bet_status供前端同步
6. WaybillRemindService路子珠pattern检测加try-catch,消除每日59次offset -1错误
2026-05-19 00:28:02 +08:00
testadmin
f3fb7628ab
fix: Enter key at bet_status=1 now calls endBet() instead of silently ignoring
...
When endBet fails on server, client stays stuck at status=1 where Enter
key did nothing. Dealer had to void the round to recover. Now Enter at
status=1 triggers endBet(), allowing manual recovery without voiding.
2026-05-18 21:06:07 +08:00
testadmin
cd149d5478
fix: add 3s debounce to opening() across all 8 dealer JS files
2026-05-17 12:16:54 +08:00
testadmin
3533758405
fix: 'Please hold on' → '请稍等' across all 8 dealer JS files
2026-05-17 12:13:50 +08:00
testadmin
f923300f63
fix: 移除小键盘+号键(numpad plus)换靴功能,防牌手误操作
...
- 8个荷官端 handle_*.js 移除 keyCode==107 换靴触发
- 鼠标撞边换靴保留不变
- 客户反馈+号键与龙/庄键太近易误触,且无恢复功能
2026-04-22 12:28:17 +08:00
testadmin
dd3776e759
fix: resetNumberTab 支持 bet_status=3 + 路单变量名修正
...
- ResetNumberTabService: 条件增加 bet_status==3,修复 || 应为 && 的逻辑错误
- WaybillRemindService: last_banker_lenth → last_player_lenth(result==2 是闲家)
- 所有荷官操作端 handle_*.js: resetNumberTab 同步支持 betStatus==3
2026-04-20 10:51:49 +08:00
li
b8cd0c9418
add
2026-01-28 23:48:20 +08:00