feat(api, ui, i18n): 增强奖池管理与钱包功能

新增奖池余额调整与调整记录查询相关 API,提升后台对奖池的管理与控制能力。
更新奖池与钱包相关多语言文案,新增余额调整与转账完成提示信息,提升用户理解与反馈体验。
优化奖池管理相关 UI 组件,新增余额调整功能并改进页面布局,提升操作易用性。
重构相关组件以整合新功能,并进一步优化后台管理界面的整体用户体验。
This commit is contained in:
2026-05-26 14:59:41 +08:00
parent 60271d87fb
commit eb83bcf360
23 changed files with 881 additions and 228 deletions

View File

@@ -313,6 +313,7 @@
},
"rebate": {
"sectionHint": "Rebate rates are stored in the odds version; select or create an odds draft in the section above first.",
"lazyLoadHint": "Scroll down to the rebate section to load",
"embeddedVersionHint": "Rebate shares the odds version line—switch versions in the Odds section above.",
"sheetDescription": "Rebate is stored in the odds draft version and shares the same version set as odds.",
"publishLabel": "Publish",

View File

@@ -14,6 +14,21 @@
"noPoolData": "No pool data",
"displayBalance": "Display balance {{amount}}",
"currentAmount": "Current pool balance (minor unit)",
"balanceAdjustmentTitle": "Balance adjustment",
"balanceAdjustmentHint": "A reason is required; each change is recorded in the adjustment ledger. Balance cannot be edited via Save.",
"adjustmentDirection": "Direction",
"adjustmentIncrease": "Increase",
"adjustmentDecrease": "Decrease",
"adjustmentAmount": "Amount (major units)",
"adjustmentReason": "Reason (required)",
"submitAdjustment": "Submit adjustment",
"adjustmentSuccess": "Pool balance adjusted",
"adjustmentFailed": "Adjustment failed",
"adjustmentAmountInvalid": "Enter a valid adjustment amount",
"adjustmentReasonRequired": "Reason must be at least 3 characters",
"confirmAdjustmentTitle": "Confirm pool balance adjustment?",
"confirmAdjustmentDescription": "This writes a ledger entry and updates the pool balance. Verify amount and reason.",
"recentAdjustments": "Recent adjustments",
"contributionRate": "Contribution rate 0-1",
"triggerThreshold": "Burst threshold (minor unit)",
"payoutRate": "Burst payout rate 0-1",

View File

@@ -41,15 +41,20 @@
"requestTime": "Requested at",
"finishedTime": "Finished at",
"actions": "Actions",
"actionsMenuAriaLabel": "Transfer order actions",
"reverse": "Reverse",
"completeCredit": "Complete credit",
"manualProcess": "Manual process",
"processing": "Processing…",
"reverseSuccess": "Reversed successfully",
"completeCreditSuccess": "Transfer-in credited successfully",
"manualProcessSuccess": "Manually processed successfully",
"actionFailed": "Action failed",
"confirm": {
"reverseTitle": "Confirm reverse transfer?",
"reverseDescription": "Reverse order {{transferNo}}. This may affect player wallet balance.",
"completeCreditTitle": "Confirm complete transfer-in credit?",
"completeCreditDescription": "When the main site has already debited, credit lottery wallet for order {{transferNo}} and mark it successful.",
"manualProcessTitle": "Confirm manual process?",
"manualProcessDescription": "Mark order {{transferNo}} as manually processed without automatic wallet adjustment."
},