feat(admin): 增加玩家密码管理与角色边界

This commit is contained in:
wchino
2026-07-21 21:11:07 +08:00
parent cec2fd7c4f
commit ba54444979
32 changed files with 845 additions and 34 deletions

View File

@@ -45,6 +45,7 @@ return [
'agent_account_managed_in_agents' => '代理账号请到「代理经营」中管理,平台账号页不再支持此操作。',
'agent_role_managed_in_agents' => '代理角色请到「代理经营」中管理,平台角色页不再支持此操作。',
'system_roles_only' => '平台账号只能分配平台角色。',
'agent_role_not_assignable_to_platform_account' => '平台账号不能分配“代理”角色;请在“代理管理”中创建或绑定代理账号。',
'user_cannot_delete_self' => '不能删除当前登录账号。',
'user_cannot_delete_last_super_admin' => '不能删除最后一个超级管理员。',
'super_admin_only_for_roles' => '仅超级管理员可管理角色。',

View File

@@ -169,4 +169,6 @@ return [
'can_grant_extra_rebate' => '允许额外回水',
'can_create_child_agent' => '允许创建下级代理',
'can_create_player' => '允许创建玩家',
'current_password' => '当前密码',
'password_confirmation' => '确认密码',
];

View File

@@ -24,6 +24,9 @@ return [
'exceeds_default_rebate_limit' => '默认玩家回水不能超过本节点回水上限。',
'not_allowed' => '当前代理未开放该能力,无法设置。',
'wallet_player_prohibited' => '主站钱包玩家不支持授信额度与回水设置。',
'current_password_invalid' => '当前密码不正确。',
'new_password_must_differ' => '新密码不能与当前密码相同。',
'native_password_unavailable' => '主站 SSO 玩家不使用彩票端密码。',
'exceeds_unpaid' => '收付金额不能超过账单未结金额。',
'invalid_range' => '占成比例必须在 0100 之间。',
'below_allocated' => '代理授信额度不能低于已下发给下级代理与玩家的总额。',