fix: 更新任务调度频率并增强错误处理逻辑

- 将 `lottery:draw-tick` 命令的调度频率从每分钟更新为每10秒,以提高抽奖数据处理的及时性。
- 在 `AdminSettlementBatchPayoutController` 中增强异常处理,提供更具体的错误信息,特别是针对未批准的结算批次。
- 在多语言文件中添加相应的错误信息翻译,确保用户友好的反馈。
This commit is contained in:
2026-05-25 16:43:51 +08:00
parent 5f1d2d79ce
commit 770fd8950d
6 changed files with 14 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
return [
'validation_failed' => 'The given data was invalid.',
'client_error' => 'This request could not be completed.',
'settlement_not_approved' => 'Settlement batch is not approved for payout (both status and review_status must be approved).',
'not_found' => 'The requested resource was not found.',
'too_many_requests' => 'Too many requests. Please try again later.',
'server_error' => 'Something went wrong. Please try again later.',