- 在多个控制器中更新权限检查逻辑,确保管理员能够更灵活地管理代理和玩家。 - 在 AdminPlayerStoreController 中引入对玩家创建能力的验证,确保只有具备相应权限的管理员能够创建玩家。 - 更新请求验证逻辑,新增 credit_limit、rebate_rate 和 extra_rebate_rate 字段,以支持更细粒度的玩家管理。 - 在 AgentNodeProfileController 中添加对父代理能力授予的验证,确保子代理的权限在父代理范围内。 - 引入 AgentProfileFieldRules 以简化代理资料更新请求的规则定义,提升代码复用性。
30 lines
1.5 KiB
PHP
30 lines
1.5 KiB
PHP
<?php
|
||
|
||
/** PRD 钱包段多语言;NegotiateLotteryLocale 后由 __() 选用 */
|
||
return [
|
||
'invalid_currency' => 'Invalid currency code',
|
||
'order_not_found' => 'Transfer order not found',
|
||
|
||
'1001' => 'Insufficient lottery wallet balance',
|
||
'1002' => 'A previous transfer is still processing; please retry shortly',
|
||
'1003' => 'Amount exceeds the allowed limit',
|
||
'1004' => 'Deposits are temporarily disabled',
|
||
'1005' => 'Invalid or disabled currency',
|
||
'1006' => 'Withdrawals are temporarily disabled',
|
||
'1007' => 'Lottery wallet is frozen; transfers are blocked',
|
||
'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',
|
||
'1011' => 'Wallet transfers are not available for credit-line players',
|
||
'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',
|
||
'2009' => 'This order was refunded or cannot be resubmitted; close preview and place a new bet',
|
||
'4001' => 'This number is sold out for the current draw',
|
||
];
|