feat(core): harden sessions settlement and credit activity
Some checks failed
lotterLaravel CI / test (push) Has been cancelled
lotterLaravel E2E / e2e-api (push) Has been cancelled

This commit is contained in:
wchino
2026-07-22 20:53:43 +08:00
parent 35f6e46958
commit 15bd997c4e
48 changed files with 1920 additions and 93 deletions

View File

@@ -5,6 +5,7 @@ return [
'invalid_captcha' => 'Invalid or expired captcha.',
'invalid_credentials' => 'Invalid account or password.',
'account_disabled' => 'This account has been disabled.',
'session_replaced' => 'This account was signed in elsewhere. The current session has been signed out.',
'permission_denied' => 'You do not have permission to perform this action.',
'forbidden' => 'You do not have permission to perform this action.',
'settlement_run_skipped' => 'Settlement was not run for this draw (check draw status and published result batch).',

View File

@@ -41,6 +41,7 @@ return [
'jackpot_already_allocated_for_draw' => 'Jackpot was already allocated for this draw.',
'draw_not_ready_for_jackpot_burst' => 'Draw is not in settling or settled status.',
'draw_result_not_published' => 'Draw results have not been published.',
'draw_not_ready_for_settlement' => 'This draw cannot be settled in its current state. Settlement may only be started early during cooldown or retried while settling.',
'settlement_batch_not_found' => 'Settlement batch not found for this draw.',
'settlement_not_pending_review' => 'Settlement batch is not pending review.',
'settlement_not_approved' => 'Settlement batch is not approved.',

View File

@@ -16,4 +16,5 @@ return [
'8007' => 'Too many failed attempts. Try again later',
'8008' => 'Please sign in through the main site',
'8009' => 'Invalid or expired captcha.',
'8010' => 'This account was signed in on another device. Please sign in again.',
];

View File

@@ -5,6 +5,7 @@ return [
'invalid_captcha' => 'क्याप्चा गलत वा म्याद सकिएको छ।',
'invalid_credentials' => 'खाता वा पासवर्ड गलत छ।',
'account_disabled' => 'यो खाता निष्क्रिय गरिएको छ।',
'session_replaced' => 'यो खाता अर्को स्थानमा लगइन भएको छ। हालको सत्र लगआउट गरिएको छ।',
'permission_denied' => 'यो कार्य गर्ने अनुमति छैन।',
'forbidden' => 'यो कार्य गर्ने अनुमति छैन।',
'settlement_run_skipped' => 'यो ड्रको सेटलमेन्ट चलाइएन (ड्र स्थिति र प्रकाशित नतिजा जाँच गर्नुहोस्)।',

View File

@@ -41,6 +41,7 @@ return [
'jackpot_already_allocated_for_draw' => 'यो ड्रमा ज्याकपोट पहिले नै बाँडिएको छ।',
'draw_not_ready_for_jackpot_burst' => 'ड्र settling वा settled अवस्थामा छैन।',
'draw_result_not_published' => 'ड्र नतिजा प्रकाशित भएको छैन।',
'draw_not_ready_for_settlement' => 'हालको अवस्थामा यो ड्र सेटल गर्न मिल्दैन। कूलडाउनमा मात्र छिटो सेटल गर्न वा सेटल हुँदै गर्दा पुनः प्रयास गर्न सकिन्छ।',
'settlement_batch_not_found' => 'यो ड्रको सेटलमेन्ट ब्याच फेला परेन।',
'settlement_not_pending_review' => 'सेटलमेन्ट ब्याच समीक्षामा छैन।',
'settlement_not_approved' => 'सेटलमेन्ट ब्याच स्वीकृत छैन।',

View File

@@ -13,4 +13,5 @@ return [
'8007' => 'धेरै असफल प्रयास। पछि फेरि प्रयास गर्नुहोस्',
'8008' => 'कृपया मुख्य साइटबाट लगइन गर्नुहोस्',
'8009' => 'क्याप्चा गलत वा म्याद सकिएको छ।',
'8010' => 'यो खाता अर्को उपकरणमा लगइन गरिएको छ। कृपया फेरि लगइन गर्नुहोस्।',
];

View File

@@ -5,6 +5,7 @@ return [
'invalid_captcha' => '验证码错误或已过期,请重试。',
'invalid_credentials' => '账号或密码错误。',
'account_disabled' => '该账号已被禁用。',
'session_replaced' => '该账号已在其他地方登录,当前会话已退出。',
'permission_denied' => '当前账号无此操作权限。',
'forbidden' => '当前账号无此操作权限。',
'settlement_run_skipped' => '本期未执行结算(请检查期号状态与已发布开奖批次)。',

View File

@@ -41,6 +41,7 @@ return [
'jackpot_already_allocated_for_draw' => '该期已分配过奖池派彩。',
'draw_not_ready_for_jackpot_burst' => '期号尚未进入结算中或已结算,无法手动爆池。',
'draw_result_not_published' => '该期开奖结果尚未发布。',
'draw_not_ready_for_settlement' => '当前期号状态不允许结算;仅可在冷静期提前结算,或在结算中重新触发。',
'settlement_batch_not_found' => '未找到该期的结算批次。',
'settlement_not_pending_review' => '结算批次不在待审核状态。',
'settlement_not_approved' => '结算批次尚未审核通过。',

View File

@@ -13,4 +13,5 @@ return [
'8007' => '登录失败次数过多,请稍后再试',
'8008' => '请使用主站登录进入彩票',
'8009' => '验证码错误或已过期,请重试。',
'8010' => '该账号已在其他设备登录,请重新登录。',
];