29 lines
1.1 KiB
JavaScript
29 lines
1.1 KiB
JavaScript
import { MENU_CODES, PERMISSIONS } from "@/app/permissions";
|
|
|
|
export const operationsRoutes = [
|
|
{
|
|
label: "金币流水",
|
|
loader: () => import("./pages/CoinLedgerPage.jsx").then((module) => module.CoinLedgerPage),
|
|
menuCode: MENU_CODES.operationCoinLedger,
|
|
pageKey: "operation-coin-ledger",
|
|
path: "/operations/coin-ledger",
|
|
permission: PERMISSIONS.coinLedgerView,
|
|
},
|
|
{
|
|
label: "金币增减",
|
|
loader: () => import("./pages/CoinAdjustmentPage.jsx").then((module) => module.CoinAdjustmentPage),
|
|
menuCode: MENU_CODES.operationCoinAdjustment,
|
|
pageKey: "operation-coin-adjustment",
|
|
path: "/operations/coin-adjustments",
|
|
permission: PERMISSIONS.coinAdjustmentView,
|
|
},
|
|
{
|
|
label: "举报列表",
|
|
loader: () => import("./pages/ReportListPage.jsx").then((module) => module.ReportListPage),
|
|
menuCode: MENU_CODES.operationReports,
|
|
pageKey: "operation-reports",
|
|
path: "/operations/reports",
|
|
permission: PERMISSIONS.reportView,
|
|
},
|
|
];
|