refactor: 移除冗余注释和描述,优化管理员模块的代码结构
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const walletModuleMeta = {
|
||||
segment: "wallet",
|
||||
title: "钱包流水与对账",
|
||||
description:""
|
||||
description: "",
|
||||
} as const;
|
||||
|
||||
@@ -13,7 +13,7 @@ import { AdminDateRangeField } from "@/components/admin/admin-date-range-field";
|
||||
import { AdminListPaginationFooter } from "@/components/admin/admin-list-pagination-footer";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Checkbox } from "@/components/ui/checkbox";
|
||||
import { Input } from "@/components/ui/input";
|
||||
import { Label } from "@/components/ui/label";
|
||||
@@ -243,11 +243,6 @@ export function TransferOrdersPanel(): React.ReactElement {
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>转账单</CardTitle>
|
||||
<CardDescription>
|
||||
主站 ↔ 彩票划转单;检索口径与 §5.11 一致(单号、主站流水号、玩家账号、状态、日期)。与{" "}
|
||||
<code className="rounded bg-muted px-1">player_id</code> 同时填写时以 ID 为准。PRD §15.4:失败单请看「失败原因」列,可筛{" "}
|
||||
<code className="rounded bg-muted px-1">status=failed</code>。
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
|
||||
@@ -510,10 +505,6 @@ export function WalletTxnsPanel(): React.ReactElement {
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>钱包流水</CardTitle>
|
||||
<CardDescription>
|
||||
§5.11 列表:流水号、主站流水号、玩家、类型、金额、状态、请求时间、完成时间、操作。「仅异常」对应{" "}
|
||||
<code className="rounded bg-muted px-1">pending_reconcile</code>。
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
|
||||
@@ -771,10 +762,6 @@ export function PlayerWalletPanel(): React.ReactElement {
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>玩家钱包查询</CardTitle>
|
||||
<CardDescription>
|
||||
按本地玩家主键 <code className="rounded bg-muted px-1">players.id</code>{" "}
|
||||
查询各币种余额。完整客服视图见界面文档 §5.12(待迭代)。
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent className="space-y-4">
|
||||
<div className="flex flex-wrap items-end gap-2">
|
||||
|
||||
Reference in New Issue
Block a user