Commit Graph
4 Commits
Author SHA1 Message Date
testadmin d77c6beac7 feat: add logging module for backend + frontend error reporting
Backend:
- New Logger utility (app/utils/Logger.php) with category-based log files
  (connect/game/bet/error/frontend under runtime/log/)
- Log WebSocket connect/close events (WsConnect, WsClose)
- Log dealer auth success/failure (SpaceConnectService)
- Log all game events: startBet, endBet, changeBoot, opening for all 7 game types
- Log unhandled exceptions (ExceptionHandle)
- Separate SQL/error logs via apart_level, enable realtime_write for Swoole
- Add /log/report POST endpoint for frontend error ingestion

Frontend:
- New error-report.js with window.onerror + unhandledrejection auto-reporting
- Added to all 12 dealer HTML templates
- Bump VERSION_V to v10.1.0
2026-05-14 11:28:33 +08:00
testadmin 5b74fee7a8 fix: 龙虎手动模式(tab_dt.html)补上#resultAreaTimer/#resultAreaImg 2026-05-11 14:05:30 +08:00
testadmin 80282468cd fix: 百家乐/龙虎模板 JS 版本号改为动态,解决浏览器缓存不刷新
- tab_b.html: handle_b.js?3 → handle_b.js{Think.VERSION_V}
- tab_dt.html: handle_b.js?1 → handle_b.js{Think.VERSION_V}
- 硬编码版本号导致浏览器缓存旧JS,小键盘+号键移除不生效
2026-04-22 14:57:11 +08:00
li b8cd0c9418 add 2026-01-28 23:48:20 +08:00