Files
lotteryLaravel/lang/zh/validation_business.php
kang 980f3c9593 feat: enhance agent settlement features and improve data access controls
- Added new section in AGENTS.md detailing learned workspace facts for better understanding of settlement processes.
- Updated AgentNodeDestroyController to remove unnecessary checks for admin users.
- Enhanced AgentSettlement controllers to assert permissions for finance adjustments and bill operations.
- Improved query scopes in AgentSettlement services to ensure proper data access based on admin roles.
- Refactored methods in SettlementPartyEnrichment for better bill row enrichment and data handling.
- Introduced new methods in AdminAgentSettlementScope for managing agent node visibility and finance adjustments.
2026-06-12 15:59:05 +08:00

39 lines
2.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/** 业务层 ValidationException 简写键 */
return [
'unique' => '该内容已存在,请更换后重试。',
'required' => ':attribute 不能为空。',
'system_role' => '系统角色不可删除。',
'agent_mismatch' => '该账号不属于当前代理节点。',
'invalid_for_agent' => '所选角色与当前代理不匹配。',
'not_manageable' => '无权管理该下级代理。',
'invalid_menu_action' => '权限项无效或不存在。',
'exceeds_actor' => '下列权限超出您可分配的范围::detail',
'exceeds_parent_ceiling' => '下列权限超出上级允许下放的范围::detail',
'exceeds_delegation_ceiling' => '下列权限超出本节点下放上限::detail',
'permission_exceeds_actor' => '下列权限超出您可分配的范围::detail',
'permission_catalog_incomplete' => '权限目录不完整,缺少::detail。请联系管理员执行 migrate 与 admin-auth-sync。',
'exceeds_parent' => '占成比例不能超过上级代理。',
'exceeds_available' => '超出代理可下发额度:请提高该代理授信,或减少其他下级/玩家已占用的额度。',
'agent_profile_required' => '该代理尚未配置占成与授信,请先在「占成与授信」保存代理档案。',
'exceeds_limit' => '默认玩家回水不能超过回水上限。',
'invalid_range' => '占成比例必须在 0100 之间。',
'below_allocated' => '代理授信额度不能低于已下发给下级代理与玩家的总额。',
'below_player_used' => '玩家授信额度不能低于该玩家已占用(含冻结)的额度。',
'parent_cannot_delegate' => '上级未开放该能力,无法下放。',
'cannot_create_child_agent' => '当前账号无权创建下级代理。',
'cannot_create_player' => '当前账号无权创建玩家。',
'primary_account_missing' => '该代理尚未绑定登录账号,无法修改登录名。',
'site_root_exists' => '该接入站点已绑定一级代理,请选择其他站点。',
'agent_overdue' => '该代理存在逾期未结账单,禁止此操作。',
'agent_line_severe_overdue' => '该代理线路存在严重逾期超过7天已冻结下注。',
'parent_overdue' => '上级代理存在逾期未结账单,禁止此操作。',
'period_already_open' => '该时间范围的账期已在进行中,请直接关账,勿重复开期。',
'period_site_has_open' => '本站已有进行中账期,请先关账后再开新账期。',
'period_overlaps_existing' => '账期时间与已有账期重叠,请调整起止日期。',
'period_not_found' => '账期不存在或无权访问。',
'period_already_closed' => '该账期已关账,请勿重复操作。',
'share_snapshot_missing' => '账期内存在缺少占成快照的流水,无法关账。请先完成开奖结算或联系技术支持。',
];