refactor: 移除冗余注释和描述,优化管理员模块的代码结构
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const playersModuleMeta = {
|
||||
segment: "players",
|
||||
title: "玩家查询",
|
||||
description: "按玩家 ID 查钱包等(PRD 15.3);列表/冻结待管理端用户 API。",
|
||||
title: "玩家",
|
||||
description: "",
|
||||
} as const;
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user