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
+38 -2
View File
@@ -1,7 +1,7 @@
<?php
return [
// Common
'app_name' => 'PK10 Speed Racing',
'app_name' => 'F1 Racing',
'login' => 'Login',
'register' => 'Register',
'logout' => 'Logout',
@@ -54,7 +54,7 @@ return [
'email_not_verified' => 'Please verify your email first',
// Game
'pk10_title' => 'PK10 Speed Racing',
'pk10_title' => 'F1 Racing',
'period' => 'Period',
'current_period' => 'Current Period',
'last_result' => 'Last Result',
@@ -157,4 +157,40 @@ return [
'sum_bs_big' => 'Sum Big', 'sum_bs_small' => 'Sum Small',
'sum_bs_odd' => 'Sum Odd', 'sum_bs_even' => 'Sum Even',
'notify_bell' => 'Notify',
'coming_soon' => 'Coming Soon',
'deposit_confirm_msg' => 'You will be redirected to customer service. Please contact them for deposit address.',
'deposit_amount' => 'Enter deposit amount',
'deposit_submitted' => 'Deposit request submitted. Please contact customer service to complete payment.',
'withdraw_amount' => 'Enter withdrawal amount',
'withdraw_submitted' => 'Withdrawal request submitted, pending review',
'contact_admin' => 'Please contact admin to configure service link',
'transfer_to' => 'Enter recipient username',
'transfer_amount' => 'Enter transfer amount',
'transfer_confirm' => 'Confirm transfer to',
'transfer_success' => 'Transfer successful',
'amount' => 'Amount',
'fund_request_history' => 'Deposit/Withdraw History',
'fund_status_pending' => 'Pending',
'fund_status_approved' => 'Approved',
'fund_status_rejected' => 'Rejected',
'quick_hint' => 'Tap to add batch bets',
'bets_added' => ' bets added',
// Report & Follow Plan
'report_query' => 'Reports',
'follow_plan' => 'Follow Plan',
'today' => 'Today',
'yesterday' => 'Yesterday',
'last_7_days' => 'Last 7 Days',
'last_30_days' => 'Last 30 Days',
'custom_date' => 'Custom',
'bet_type' => 'Type',
'bet_amount' => 'Bet',
'effective_flow' => 'Valid Flow',
'rebate_amount' => 'Rebate',
'win_loss' => 'Win/Loss',
'total_win_rate' => 'Win Rate',
'total_profit' => 'Total P&L',
'no_follow_plan' => 'Sorry, you have no follow plans at the moment',
'bs_plan' => 'Big/Small Plan',
];