refactor: 移除冗余注释和描述,优化管理员模块的代码结构

This commit is contained in:
2026-05-11 17:21:12 +08:00
parent 217ed7c02f
commit 76e318be8f
57 changed files with 163 additions and 382 deletions

View File

@@ -1,5 +1,5 @@
export const playersModuleMeta = {
segment: "players",
title: "玩家查询",
description: "按玩家 ID 查钱包等PRD 15.3);列表/冻结待管理端用户 API。",
title: "玩家",
description: "",
} as const;

View File

@@ -1,23 +1,15 @@
"use client";
import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Card, 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 />