feat: 添加新的错误码以支持投注功能,更新数据库填充器以增强玩法和赔率配置,扩展 API 路由以支持风险池管理

This commit is contained in:
2026-05-11 11:52:23 +08:00
parent 067c2b39f5
commit 058f596f34
29 changed files with 2300 additions and 122 deletions

View File

@@ -14,4 +14,13 @@ return [
'1008' => 'Invalid amount; enter a positive integer in minor units',
'1009' => 'Main wallet operation failed; please try again later',
'1010' => 'Do not reuse an idempotency key with different transfer parameters',
'2001' => 'The current draw is already closed',
'2002' => 'This play is closed',
'2003' => 'Insufficient balance. Please transfer in before betting',
'2004' => 'Invalid number format',
'2005' => 'Play input is incomplete or invalid',
'2006' => 'The draw is not open for betting',
'2007' => 'This play is not supported yet',
'2008' => 'Odds or play settings changed; please preview again before placing',
'4001' => 'This number is sold out for the current draw',
];