feat: 重构代码架构 + 新增报表/跟单/输赢统计功能

- 拆分 HomeController → TransactionController, ReportWebController, FollowPlanController
- 新增 Service 层: TransactionService, ReportService, FollowPlanService
- pk10.php JS 抽离为 4 个独立文件 (sound/race/bet/poll)
- 前台新增报表查询页面 (/report) + 跟单计划页面 (/follow-plan)
- 后台新增跟单计划管理 + 用户输赢明细统计
- 封盘状态显示倒计时 (x:xx)
- 音效仅在开奖弹窗打开时播放
- 路由按模块分组整理
- autoload 支持 App\Services 命名空间
This commit is contained in:
li
2026-03-27 18:41:06 +08:00
parent 48cfe4be04
commit 4a94fe36cf
87 changed files with 8681 additions and 646 deletions
+4 -2
View File
@@ -1,6 +1,6 @@
<?php
return [
'app_name' => 'PK10 แข่งรถความเร็ว',
'app_name' => 'F1 แข่งรถ',
'login' => 'เข้าสู่ระบบ', 'register' => 'สมัครสมาชิก', 'logout' => 'ออกจากระบบ',
'username' => 'ชื่อผู้ใช้', 'password' => 'รหัสผ่าน', 'email' => 'อีเมล',
'confirm_password' => 'ยืนยันรหัสผ่าน', 'submit' => 'ส่ง', 'cancel' => 'ยกเลิก',
@@ -22,7 +22,7 @@ return [
'login_failed' => 'ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง',
'account_disabled' => 'บัญชีถูกปิดใช้งาน',
'email_not_verified' => 'กรุณายืนยันอีเมลก่อน',
'pk10_title' => 'PK10 แข่งรถความเร็ว', 'period' => 'งวด',
'pk10_title' => 'F1 แข่งรถ', 'period' => 'งวด',
'current_period' => 'งวดปัจจุบัน', 'last_result' => 'ผลก่อนหน้า',
'history' => 'ประวัติ', 'place_bet' => 'วางเดิมพัน', 'my_bets' => 'เดิมพันของฉัน',
'betting' => 'กำลังเดิมพัน', 'closed' => 'ปิดรับ', 'drawing' => 'กำลังออกผล',
@@ -68,4 +68,6 @@ return [
'sum_bs_big' => 'รวมใหญ่', 'sum_bs_small' => 'รวมเล็ก',
'sum_bs_odd' => 'รวมคี่', 'sum_bs_even' => 'รวมคู่',
'notify_bell' => 'แจ้งเตือน',
'quick_hint' => 'แตะเพื่อเพิ่มเดิมพันเป็นชุด',
'bets_added' => ' รายการเพิ่มแล้ว',
];