feat: Enhance settlement and draw management functionality
- Implement error handling for skipped settlement runs in DrawSettlementRunController, returning appropriate error messages based on draw status. - Add validation in DrawPublishService to ensure draws are ready for publication, rejecting outdated result batches. - Update SettlementBatchWorkflowService to revert ticket statuses upon settlement rejection and restore jackpot pool amounts. - Refactor LotteryTransferService to improve transaction handling for transfer order reconciliation, ensuring idempotency during reversals. - Add multi-language support for new error messages related to settlement processes.
This commit is contained in:
@@ -6,4 +6,5 @@ return [
|
||||
'invalid_credentials' => '账号或密码错误。',
|
||||
'account_disabled' => '该账号已被禁用。',
|
||||
'permission_denied' => '当前账号无此操作权限。',
|
||||
'settlement_run_skipped' => '本期未执行结算(请检查期号状态与已发布开奖批次)。',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user