2026-05-14 09:57:41 +08:00

38 lines
1.3 KiB
JavaScript

import { MENU_CODES, PERMISSIONS } from "@/app/permissions";
export const appConfigRoutes = [
{
label: "H5配置",
loader: () => import("./pages/H5ConfigPage.jsx").then((module) => module.H5ConfigPage),
menuCode: MENU_CODES.appConfigH5,
pageKey: "app-config-h5",
path: "/app-config/h5",
permission: PERMISSIONS.appConfigView
},
{
label: "BANNER配置",
loader: () => import("./pages/BannerConfigPage.jsx").then((module) => module.BannerConfigPage),
menuCode: MENU_CODES.appConfigBanners,
pageKey: "app-config-banners",
path: "/app-config/banners",
permission: PERMISSIONS.appConfigView
},
{
label: "内购配置",
loader: () =>
import("../payment/pages/RechargeProductConfigPage.jsx").then((module) => module.RechargeProductConfigPage),
menuCode: MENU_CODES.paymentRechargeProducts,
pageKey: "payment-recharge-products",
path: "/app-config/recharge-products",
permission: PERMISSIONS.paymentProductView
},
{
label: "版本管理",
loader: () => import("./pages/AppVersionManagementPage.jsx").then((module) => module.AppVersionManagementPage),
menuCode: MENU_CODES.appConfigVersions,
pageKey: "app-config-versions",
path: "/app-config/versions",
permission: PERMISSIONS.appVersionView
}
];