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:
+4
-2
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'app_name' => 'PK10 স্পিড রেসিং',
|
||||
'app_name' => 'F1 রেসিং',
|
||||
'login' => 'লগইন', 'register' => 'নিবন্ধন', 'logout' => 'লগআউট',
|
||||
'username' => 'ব্যবহারকারীর নাম', 'password' => 'পাসওয়ার্ড', 'email' => 'ইমেইল',
|
||||
'confirm_password' => 'পাসওয়ার্ড নিশ্চিত করুন', 'submit' => 'জমা দিন', 'cancel' => 'বাতিল',
|
||||
@@ -21,7 +21,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' => ' টি বাজি যোগ হয়েছে',
|
||||
];
|
||||
|
||||
+38
-2
@@ -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',
|
||||
];
|
||||
|
||||
+4
-2
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'app_name' => 'PK10 Speed Racing',
|
||||
'app_name' => 'F1 Racing',
|
||||
'login' => 'Mag-login', 'register' => 'Magrehistro', 'logout' => 'Mag-logout',
|
||||
'username' => 'Username', 'password' => 'Password', 'email' => 'Email',
|
||||
'confirm_password' => 'Kumpirmahin ang Password', 'submit' => 'Isumite', 'cancel' => 'Kanselahin',
|
||||
@@ -21,7 +21,7 @@ return [
|
||||
'login_failed' => 'Mali ang username o password',
|
||||
'account_disabled' => 'Na-disable ang account',
|
||||
'email_not_verified' => 'Paki-verify muna ang iyong email',
|
||||
'pk10_title' => 'PK10 Speed Racing', 'period' => 'Period',
|
||||
'pk10_title' => 'F1 Racing', 'period' => 'Period',
|
||||
'current_period' => 'Kasalukuyang Period', 'last_result' => 'Nakaraang Resulta',
|
||||
'history' => 'Kasaysayan', 'place_bet' => 'Tumaya', 'my_bets' => 'Mga Taya Ko',
|
||||
'betting' => 'Tumataya', 'closed' => 'Sarado', 'drawing' => 'Hinuhugot',
|
||||
@@ -68,4 +68,6 @@ return [
|
||||
'sum_bs_big' => 'Kabuuang Malaki', 'sum_bs_small' => 'Kabuuang Maliit',
|
||||
'sum_bs_odd' => 'Kabuuang Odd', 'sum_bs_even' => 'Kabuuang Even',
|
||||
'notify_bell' => 'Abiso',
|
||||
'quick_hint' => 'I-tap para magdagdag ng batch na taya',
|
||||
'bets_added' => ' taya naidagdag',
|
||||
];
|
||||
|
||||
+4
-2
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'app_name' => 'PK10 Lumba Laju',
|
||||
'app_name' => 'F1 Racing',
|
||||
'login' => 'Log Masuk', 'register' => 'Daftar', 'logout' => 'Log Keluar',
|
||||
'username' => 'Nama Pengguna', 'password' => 'Kata Laluan', 'email' => 'Emel',
|
||||
'confirm_password' => 'Sahkan Kata Laluan', 'submit' => 'Hantar', 'cancel' => 'Batal',
|
||||
@@ -21,7 +21,7 @@ return [
|
||||
'login_failed' => 'Nama pengguna atau kata laluan salah',
|
||||
'account_disabled' => 'Akaun telah dilumpuhkan',
|
||||
'email_not_verified' => 'Sila sahkan emel anda dahulu',
|
||||
'pk10_title' => 'PK10 Lumba Laju', 'period' => 'Tempoh',
|
||||
'pk10_title' => 'F1 Racing', 'period' => 'Tempoh',
|
||||
'current_period' => 'Tempoh Semasa', 'last_result' => 'Keputusan Lepas',
|
||||
'history' => 'Sejarah', 'place_bet' => 'Letak Taruhan', 'my_bets' => 'Taruhan Saya',
|
||||
'betting' => 'Bertaruh', 'closed' => 'Ditutup', 'drawing' => 'Cabutan',
|
||||
@@ -68,4 +68,6 @@ return [
|
||||
'sum_bs_big' => 'Jumlah Besar', 'sum_bs_small' => 'Jumlah Kecil',
|
||||
'sum_bs_odd' => 'Jumlah Ganjil', 'sum_bs_even' => 'Jumlah Genap',
|
||||
'notify_bell' => 'Pemberitahuan',
|
||||
'quick_hint' => 'Ketik untuk tambah pertaruhan pukal',
|
||||
'bets_added' => ' pertaruhan ditambah',
|
||||
];
|
||||
|
||||
+4
-2
@@ -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' => ' รายการเพิ่มแล้ว',
|
||||
];
|
||||
|
||||
+4
-2
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'app_name' => 'PK10 Đua Xe Tốc Độ',
|
||||
'app_name' => 'F1 Đua Xe',
|
||||
'login' => 'Đăng nhập', 'register' => 'Đăng ký', 'logout' => 'Đăng xuất',
|
||||
'username' => 'Tên đăng nhập', 'password' => 'Mật khẩu', 'email' => 'Email',
|
||||
'confirm_password' => 'Xác nhận mật khẩu', 'submit' => 'Gửi', 'cancel' => 'Hủy',
|
||||
@@ -22,7 +22,7 @@ return [
|
||||
'login_failed' => 'Sai tên đăng nhập hoặc mật khẩu',
|
||||
'account_disabled' => 'Tài khoản đã bị vô hiệu hóa',
|
||||
'email_not_verified' => 'Vui lòng xác minh email trước',
|
||||
'pk10_title' => 'PK10 Đua Xe Tốc Độ', 'period' => 'Kỳ',
|
||||
'pk10_title' => 'F1 Đua Xe', 'period' => 'Kỳ',
|
||||
'current_period' => 'Kỳ hiện tại', 'last_result' => 'Kết quả trước',
|
||||
'history' => 'Lịch sử', 'place_bet' => 'Đặt cược', 'my_bets' => 'Cược của tôi',
|
||||
'betting' => 'Đang cược', 'closed' => 'Đã đóng', 'drawing' => 'Đang quay',
|
||||
@@ -69,4 +69,6 @@ return [
|
||||
'sum_bs_big' => 'Tổng tài', 'sum_bs_small' => 'Tổng xỉu',
|
||||
'sum_bs_odd' => 'Tổng lẻ', 'sum_bs_even' => 'Tổng chẵn',
|
||||
'notify_bell' => 'Thông báo',
|
||||
'quick_hint' => 'Nhấn để thêm cược hàng loạt',
|
||||
'bets_added' => ' cược đã thêm',
|
||||
];
|
||||
|
||||
+38
-2
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'app_name' => 'PK10 极速赛车',
|
||||
'app_name' => 'F1 赛车',
|
||||
'login' => '登录', 'register' => '注册', 'logout' => '退出',
|
||||
'username' => '用户名', 'password' => '密码', 'email' => '邮箱',
|
||||
'confirm_password' => '确认密码', 'submit' => '提交', 'cancel' => '取消',
|
||||
@@ -21,7 +21,7 @@ return [
|
||||
'register_success' => '注册成功,请验证邮箱',
|
||||
'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' => '开奖中',
|
||||
@@ -71,4 +71,40 @@ return [
|
||||
'sum_bs_big' => '冠亚大', 'sum_bs_small' => '冠亚小',
|
||||
'sum_bs_odd' => '冠亚单', 'sum_bs_even' => '冠亚双',
|
||||
'notify_bell' => '提醒',
|
||||
'coming_soon' => '即将开放',
|
||||
'deposit_confirm_msg' => '即将跳转到客服页面,请联系客服获取充值地址',
|
||||
'deposit_amount' => '请输入充值金额',
|
||||
'deposit_submitted' => '充值申请已提交,请联系客服完成付款',
|
||||
'withdraw_amount' => '请输入提现金额',
|
||||
'withdraw_submitted' => '提现申请已提交,请等待审核',
|
||||
'contact_admin' => '请联系管理员配置客服链接',
|
||||
'transfer_to' => '请输入对方用户名',
|
||||
'transfer_amount' => '请输入转账金额',
|
||||
'transfer_confirm' => '确认转账给',
|
||||
'transfer_success' => '转账成功',
|
||||
'amount' => '金额',
|
||||
'fund_request_history' => '充提记录',
|
||||
'fund_status_pending' => '待审核',
|
||||
'fund_status_approved' => '已通过',
|
||||
'fund_status_rejected' => '已拒绝',
|
||||
'quick_hint' => '点击按钮一键添加对应注单',
|
||||
'bets_added' => '注已添加',
|
||||
|
||||
// 报表查询 & 跟单计划
|
||||
'report_query' => '报表查询',
|
||||
'follow_plan' => '跟单计划',
|
||||
'today' => '今日',
|
||||
'yesterday' => '昨日',
|
||||
'last_7_days' => '近7天',
|
||||
'last_30_days' => '近30天',
|
||||
'custom_date' => '自定义',
|
||||
'bet_type' => '类型',
|
||||
'bet_amount' => '下注',
|
||||
'effective_flow' => '有效流水',
|
||||
'rebate_amount' => '退水',
|
||||
'win_loss' => '输赢',
|
||||
'total_win_rate' => '总胜率',
|
||||
'total_profit' => '总盈亏',
|
||||
'no_follow_plan' => '对不起,你现暂无任何跟单计划',
|
||||
'bs_plan' => '大小计划',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user