feat(config): add wallet configuration management page

新增钱包配置管理页面,包含转入转出限额配置功能,添加对应路由导航与API接口,完善配置元信息
This commit is contained in:
2026-05-14 11:17:57 +08:00
parent 2dfffd1fd1
commit afa592dd91
6 changed files with 253 additions and 1 deletions

View File

@@ -6,11 +6,11 @@ import { usePathname } from "next/navigation";
import { cn } from "@/lib/utils";
const LINKS: { href: string; label: string; match?: "exact" | "prefix" }[] = [
{ href: "/admin/config", label: "概览", match: "exact" },
{ href: "/admin/config/plays", label: "玩法配置" },
{ href: "/admin/config/odds", label: "赔率配置" },
{ href: "/admin/config/rebate", label: "佣金 / 回水" },
{ href: "/admin/config/risk-cap", label: "风控封顶" },
{ href: "/admin/config/wallet", label: "钱包配置" },
];
function linkActive(pathname: string, href: string, match: "exact" | "prefix"): boolean {