feat(api, i18n): add agent_node_id to various admin queries and enhance multi-language support
Introduced the agent_node_id field in AdminDrawListQuery, AdminPlayerListQuery, AdminSettlementBatchListQuery, TicketItemsListQuery, and TransferOrderListQuery to improve filtering capabilities. Updated the admin-breadcrumb and admin-sidebar components to include new translations for agent-related terms in English, Nepali, and Chinese, enhancing the overall user experience and multi-language support across the admin interface.
This commit is contained in:
@@ -44,6 +44,14 @@ export function getAdminPlayTypesLoadPromise(
|
||||
return inflightLoad;
|
||||
}
|
||||
|
||||
/** 确保玩法目录已加载并返回缓存列表(全局去重,配置页勿直接 getAdminPlayTypes) */
|
||||
export async function ensureAdminPlayTypesLoaded(
|
||||
loader: () => Promise<{ items: AdminPlayTypeRow[] }>,
|
||||
): Promise<AdminPlayTypeRow[]> {
|
||||
await getAdminPlayTypesLoadPromise(loader);
|
||||
return getCachedAdminPlayTypes();
|
||||
}
|
||||
|
||||
/** 解析玩法显示名;无配置时回退 play_code */
|
||||
export function resolveAdminPlayTypeDisplayName(
|
||||
playCode: string | null | undefined,
|
||||
|
||||
Reference in New Issue
Block a user