2026-06-11 17:11:04 +08:00

53 lines
2.0 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("./pages/SplashScreenConfigPage.jsx").then((module) => module.SplashScreenConfigPage),
menuCode: MENU_CODES.appConfigSplashScreens,
pageKey: "app-config-splash-screens",
path: "/app-config/splash-screens",
permission: PERMISSIONS.appConfigView,
},
{
label: "弹窗配置",
loader: () => import("./pages/PopupConfigPage.jsx").then((module) => module.PopupConfigPage),
menuCode: MENU_CODES.appConfigPopups,
pageKey: "app-config-popups",
path: "/app-config/popups",
permission: PERMISSIONS.appConfigView,
},
{
label: "Explore配置",
loader: () => import("./pages/ExploreConfigPage.jsx").then((module) => module.ExploreConfigPage),
menuCode: MENU_CODES.appConfigExplore,
pageKey: "app-config-explore",
path: "/app-config/explore",
permission: PERMISSIONS.appConfigView,
},
{
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,
},
];