feat: 添加财务摘要接口,更新管理员抽奖模块和导航,优化权限管理逻辑

This commit is contained in:
2026-05-11 16:21:22 +08:00
parent f083b28fc6
commit b539bf0660
57 changed files with 2134 additions and 108 deletions

View File

@@ -1,5 +1,5 @@
export const playersModuleMeta = {
segment: "players",
title: "用户",
description: "玩家列表冻结/解冻、账号资料(路由已就绪,待接管理端 API。",
title: "玩家查询",
description: "玩家 ID 查钱包等PRD 15.3列表/冻结管理端用户 API。",
} as const;

View File

@@ -0,0 +1,26 @@
"use client";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { PlayerWalletPanel } from "@/modules/wallet/wallet-console";
/** PRD 15.3:玩家查询(当前对接 `GET .../players/{id}/wallets`)。 */
export function PlayersConsole(): React.ReactElement {
return (
<div className="flex w-full max-w-none flex-col gap-6">
<Card>
<CardHeader>
<CardTitle></CardTitle>
<CardDescription>
{" "}
<code className="rounded bg-muted px-1">
prd.users.manage | view_finance | view_cs
</code>{" "}
/ API
</CardDescription>
</CardHeader>
</Card>
<PlayerWalletPanel />
</div>
);
}