feat(bet-providers): 添加开注商管理功能,包括增删改查接口及前端页面
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
This commit is contained in:
@@ -6,7 +6,12 @@ import { ChevronRight } from "lucide-react";
|
||||
|
||||
import { ModuleScaffold } from "@/components/admin/module-scaffold";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { PRD_INTEGRATION_ACCESS_ANY, PRD_SETTINGS_ACCESS_ANY, PRD_CURRENCY_MANAGE } from "@/lib/admin-prd";
|
||||
import {
|
||||
PRD_BET_PROVIDER_MANAGE,
|
||||
PRD_CURRENCY_MANAGE,
|
||||
PRD_INTEGRATION_ACCESS_ANY,
|
||||
PRD_SETTINGS_ACCESS_ANY,
|
||||
} from "@/lib/admin-prd";
|
||||
import { useAdminProfile } from "@/stores/admin-session";
|
||||
import { adminHasAnyPermission } from "@/lib/admin-permissions";
|
||||
|
||||
@@ -36,6 +41,12 @@ const HUB_CARDS: HubCard[] = [
|
||||
descKey: "hub.jackpotDesc",
|
||||
requiredAny: ["prd.jackpot.manage", "prd.jackpot.view"],
|
||||
},
|
||||
{
|
||||
href: "/admin/config/bet-providers",
|
||||
titleKey: "hub.betProvidersTitle",
|
||||
descKey: "hub.betProvidersDesc",
|
||||
requiredAny: [PRD_BET_PROVIDER_MANAGE],
|
||||
},
|
||||
{
|
||||
href: "/admin/risk/cap",
|
||||
titleKey: "hub.riskCapTitle",
|
||||
|
||||
Reference in New Issue
Block a user