“mitao”
2026-03-26 d3a8db99998e5e3d8fbcafa7a8f3cf0915063bd9
backend/src/main/java/com/tcm/training/admin/bootstrap/DataInitializer.java
@@ -119,6 +119,66 @@
                null, null, null, 4, "system:role:delete", "角色删除按钮"));
        menuIds.add(saveMenu(1300L, 1000L, "系统设置", "system_setting_group", "M",
                "/system/settings", null, null, 30, null, "系统设置目录"));
        menuIds.add(saveMenu(1305L, 1300L, "系统设置", "system_basic_settings", "C",
                "/system/settings/basic", "System/BasicSettings", null, 5, "system:basic-settings:view", "系统设置菜单"));
        menuIds.add(saveMenu(1306L, 1305L, "编辑系统设置", "system_basic_settings_edit", "B",
                null, null, null, 1, "system:basic-settings:edit", "系统设置编辑按钮"));
        menuIds.add(saveMenu(1307L, 1300L, "APP版本设置", "system_app_version_settings", "C",
                "/system/settings/app-version", "System/AppVersionSettings", null, 15, "system:app-version:view", "APP版本设置菜单"));
        menuIds.add(saveMenu(1308L, 1307L, "新增APP版本", "system_app_version_settings_add", "B",
                null, null, null, 1, "system:app-version:add", "新增APP版本按钮"));
        menuIds.add(saveMenu(1309L, 1307L, "查看APP版本", "system_app_version_settings_detail", "B",
                null, null, null, 2, "system:app-version:detail", "查看APP版本按钮"));
        menuIds.add(saveMenu(1312L, 1300L, "消息推送配置", "system_message_push_settings", "C",
                "/system/settings/message-push", "System/MessagePushSettings", null, 20, "system:message-push:view", "消息推送配置菜单"));
        menuIds.add(saveMenu(1313L, 1312L, "编辑消息推送配置", "system_message_push_settings_edit", "B",
                null, null, null, 1, "system:message-push:edit", "消息推送配置编辑按钮"));
        menuIds.add(saveMenu(1314L, 1300L, "Banner配置", "system_banner_settings", "C",
                "/system/settings/banner", "System/BannerSettings", null, 12, "system:banner:view", "Banner配置菜单"));
        menuIds.add(saveMenu(1315L, 1314L, "新增Banner", "system_banner_settings_add", "B",
                null, null, null, 1, "system:banner:add", "Banner新增按钮"));
        menuIds.add(saveMenu(1316L, 1314L, "编辑Banner", "system_banner_settings_edit", "B",
                null, null, null, 2, "system:banner:edit", "Banner编辑按钮"));
        menuIds.add(saveMenu(1317L, 1314L, "查看Banner", "system_banner_settings_detail", "B",
                null, null, null, 3, "system:banner:detail", "Banner查看按钮"));
        menuIds.add(saveMenu(1318L, 1314L, "删除Banner", "system_banner_settings_delete", "B",
                null, null, null, 4, "system:banner:delete", "Banner删除按钮"));
        menuIds.add(saveMenu(1319L, 1314L, "批量删除Banner", "system_banner_settings_batch_delete", "B",
                null, null, null, 5, "system:banner:batch-delete", "Banner批量删除按钮"));
        menuIds.add(saveMenu(1320L, 1314L, "切换Banner上架状态", "system_banner_settings_publish_status", "B",
                null, null, null, 6, "system:banner:publish-status", "Banner上架状态按钮"));
        menuIds.add(saveMenu(1321L, 1300L, "活动通知", "system_activity_notice", "C",
                "/system/settings/activity-notice", "System/ActivityNotice", null, 13, "system:activity-notice:view", "活动通知菜单"));
        menuIds.add(saveMenu(1322L, 1321L, "新增活动通知", "system_activity_notice_add", "B",
                null, null, null, 1, "system:activity-notice:add", "活动通知新增按钮"));
        menuIds.add(saveMenu(1323L, 1321L, "删除活动通知", "system_activity_notice_delete", "B",
                null, null, null, 2, "system:activity-notice:delete", "活动通知删除按钮"));
        menuIds.add(saveMenu(1324L, 1300L, "平台资质", "system_platform_qualification", "C",
                "/system/settings/platform-qualification", "System/PlatformQualification", null, 14, "system:platform-qualification:view", "平台资质菜单"));
        menuIds.add(saveMenu(1325L, 1324L, "新增平台资质", "system_platform_qualification_add", "B",
                null, null, null, 1, "system:platform-qualification:add", "平台资质新增按钮"));
        menuIds.add(saveMenu(1326L, 1324L, "查看平台资质", "system_platform_qualification_detail", "B",
                null, null, null, 2, "system:platform-qualification:detail", "平台资质详情按钮"));
        menuIds.add(saveMenu(1327L, 1324L, "编辑平台资质", "system_platform_qualification_edit", "B",
                null, null, null, 3, "system:platform-qualification:edit", "平台资质编辑按钮"));
        menuIds.add(saveMenu(1328L, 1324L, "删除平台资质", "system_platform_qualification_delete", "B",
                null, null, null, 4, "system:platform-qualification:delete", "平台资质删除按钮"));
        menuIds.add(saveMenu(1329L, 1324L, "切换平台资质上架状态", "system_platform_qualification_publish_status", "B",
                null, null, null, 5, "system:platform-qualification:publish-status", "平台资质上架状态按钮"));
        menuIds.add(saveMenu(1330L, 1300L, "协议内容", "system_agreement_content", "C",
                "/system/settings/agreement-content", "System/AgreementContent", null, 16, "system:agreement-content:view", "协议内容菜单"));
        menuIds.add(saveMenu(1331L, 1330L, "编辑协议内容", "system_agreement_content_edit", "B",
                null, null, null, 1, "system:agreement-content:edit", "协议内容编辑按钮"));
        menuIds.add(saveMenu(1332L, 1300L, "常见问题", "system_common_question", "C",
                "/system/settings/common-question", "System/CommonQuestion", null, 17, "system:common-question:view", "常见问题菜单"));
        menuIds.add(saveMenu(1333L, 1332L, "新增常见问题", "system_common_question_add", "B",
                null, null, null, 1, "system:common-question:add", "常见问题新增按钮"));
        menuIds.add(saveMenu(1334L, 1332L, "编辑常见问题", "system_common_question_edit", "B",
                null, null, null, 2, "system:common-question:edit", "常见问题编辑按钮"));
        menuIds.add(saveMenu(1335L, 1332L, "删除常见问题", "system_common_question_delete", "B",
                null, null, null, 3, "system:common-question:delete", "常见问题删除按钮"));
        menuIds.add(saveMenu(1336L, 1300L, "用户意见反馈", "system_user_feedback", "C",
                "/system/settings/user-feedback", "System/UserFeedback", null, 18, "system:user-feedback:view", "用户意见反馈菜单"));
        menuIds.add(saveMenu(1310L, 1300L, "积分设置", "system_points_settings", "C",
                "/system/settings/points", "System/PointsSettings", null, 10, "system:points-settings:view", "积分设置菜单"));
        menuIds.add(saveMenu(1311L, 1310L, "编辑积分设置", "system_points_settings_edit", "B",
@@ -161,14 +221,14 @@
                "/live", null, "read", 300, null, "课程与学习模块"));
        menuIds.add(saveMenu(3050L, 3000L, "课程管理", "live_course_manage_root", "M",
                "/live/course", null, null, 10, null, "课程管理目录"));
        menuIds.add(saveMenu(3060L, 3050L, "养身直播", "live_course_broadcast_manage", "C",
                "/live/course/broadcast", "Live/BroadcastList", null, 10, "live:course:view", "养身直播菜单"));
        menuIds.add(saveMenu(3060L, 3050L, "养生直播", "live_course_broadcast_manage", "C",
                "/live/course/broadcast", "Live/BroadcastList", null, 10, "live:course:view", "养生直播菜单"));
        menuIds.add(saveMenu(3061L, 3060L, "直播详情", "live_course_detail", "B",
                null, null, null, 1, "live:course:detail", "养身直播详情按钮"));
                null, null, null, 1, "live:course:detail", "养生直播详情按钮"));
        menuIds.add(saveMenu(3062L, 3060L, "编辑直播", "live_course_edit", "B",
                null, null, null, 2, "live:course:edit", "养身直播编辑按钮"));
                null, null, null, 2, "live:course:edit", "养生直播编辑按钮"));
        menuIds.add(saveMenu(3063L, 3060L, "启用禁用直播", "live_course_status", "B",
                null, null, null, 3, "live:course:status", "养身直播状态按钮"));
                null, null, null, 3, "live:course:status", "养生直播状态按钮"));
        menuIds.add(saveMenu(3070L, 3060L, "场次管理", "live_session_manage", "B",
                null, null, null, 10, "live:session:detail", "直播场次管理权限"));
        menuIds.add(saveMenu(3071L, 3060L, "新增场次", "live_session_add", "B",
@@ -209,30 +269,54 @@
                null, null, null, 3, "live:expert:status", "授课专家状态按钮"));
        menuIds.add(saveMenu(3104L, 3100L, "删除授课专家", "live_expert_delete", "B",
                null, null, null, 4, "live:expert:delete", "授课专家删除按钮"));
        menuIds.add(saveMenu(3110L, 3050L, "养身课程", "live_health_course_manage", "C",
                "/live/course/health", "Live/HealthCourseList", null, 40, "live:health-course:view", "养身课程菜单"));
        menuIds.add(saveMenu(3111L, 3110L, "养身课程详情", "live_health_course_detail", "B",
                null, null, null, 1, "live:health-course:detail", "养身课程详情按钮"));
        menuIds.add(saveMenu(3112L, 3110L, "新增养身课程", "live_health_course_add", "B",
                null, null, null, 2, "live:health-course:add", "养身课程新增按钮"));
        menuIds.add(saveMenu(3113L, 3110L, "编辑养身课程", "live_health_course_edit", "B",
                null, null, null, 3, "live:health-course:edit", "养身课程编辑按钮"));
        menuIds.add(saveMenu(3114L, 3110L, "删除养身课程", "live_health_course_delete", "B",
                null, null, null, 4, "live:health-course:delete", "养身课程删除按钮"));
        menuIds.add(saveMenu(3115L, 3110L, "启用禁用养身课程", "live_health_course_status", "B",
                null, null, null, 5, "live:health-course:status", "养身课程状态按钮"));
        menuIds.add(saveMenu(3116L, 3110L, "导出养身课程", "live_health_course_export", "B",
                null, null, null, 6, "live:health-course:export", "养身课程导出按钮"));
        menuIds.add(saveMenu(3110L, 3050L, "养生课程", "live_health_course_manage", "C",
                "/live/course/health", "Live/HealthCourseList", null, 40, "live:health-course:view", "养生课程菜单"));
        menuIds.add(saveMenu(3111L, 3110L, "养生课程详情", "live_health_course_detail", "B",
                null, null, null, 1, "live:health-course:detail", "养生课程详情按钮"));
        menuIds.add(saveMenu(3112L, 3110L, "新增养生课程", "live_health_course_add", "B",
                null, null, null, 2, "live:health-course:add", "养生课程新增按钮"));
        menuIds.add(saveMenu(3113L, 3110L, "编辑养生课程", "live_health_course_edit", "B",
                null, null, null, 3, "live:health-course:edit", "养生课程编辑按钮"));
        menuIds.add(saveMenu(3114L, 3110L, "删除养生课程", "live_health_course_delete", "B",
                null, null, null, 4, "live:health-course:delete", "养生课程删除按钮"));
        menuIds.add(saveMenu(3115L, 3110L, "启用禁用养生课程", "live_health_course_status", "B",
                null, null, null, 5, "live:health-course:status", "养生课程状态按钮"));
        menuIds.add(saveMenu(3116L, 3110L, "导出养生课程", "live_health_course_export", "B",
                null, null, null, 6, "live:health-course:export", "养生课程导出按钮"));
        menuIds.add(saveMenu(3117L, 3110L, "新增视频课程", "live_health_course_video_add", "B",
                null, null, null, 7, "live:health-course:video:add", "养身课程视频新增按钮"));
                null, null, null, 7, "live:health-course:video:add", "养生课程视频新增按钮"));
        menuIds.add(saveMenu(3118L, 3110L, "编辑视频课程", "live_health_course_video_edit", "B",
                null, null, null, 8, "live:health-course:video:edit", "养身课程视频编辑按钮"));
                null, null, null, 8, "live:health-course:video:edit", "养生课程视频编辑按钮"));
        menuIds.add(saveMenu(3119L, 3110L, "删除视频课程", "live_health_course_video_delete", "B",
                null, null, null, 9, "live:health-course:video:delete", "养身课程视频删除按钮"));
                null, null, null, 9, "live:health-course:video:delete", "养生课程视频删除按钮"));
        menuIds.add(saveMenu(3120L, 3050L, "健康科普", "live_health_popularization_manage", "C",
                "/live/course/health-popularization", "Live/HealthPopularizationList", null, 50, "live:health-popularization:view", "健康科普菜单"));
        menuIds.add(saveMenu(3121L, 3120L, "新增健康科普", "live_health_popularization_add", "B",
                null, null, null, 1, "live:health-popularization:add", "健康科普新增按钮"));
        menuIds.add(saveMenu(3122L, 3120L, "编辑健康科普", "live_health_popularization_edit", "B",
                null, null, null, 2, "live:health-popularization:edit", "健康科普编辑按钮"));
        menuIds.add(saveMenu(3123L, 3120L, "删除健康科普", "live_health_popularization_delete", "B",
                null, null, null, 3, "live:health-popularization:delete", "健康科普删除按钮"));
        menuIds.add(saveMenu(4000L, 0L, "交易与财务", "trade_root", "M",
                "/trade", null, "moneyCollect", 400, null, "交易与财务模块"));
        menuIds.add(saveMenu(4100L, 4000L, "订单", "trade_order_group", "M",
                "/trade/order", null, null, 10, null, "订单目录"));
        menuIds.add(saveMenu(4130L, 4100L, "养生课程购买订单", "trade_health_course_purchase_order", "C",
                "/trade/order/course-purchase", "Trade/CoursePurchase", null, 8, "course:purchase-order:view", "养生课程购买订单菜单"));
        menuIds.add(saveMenu(4131L, 4130L, "导出养生课程购买订单", "trade_health_course_purchase_order_export", "B",
                null, null, null, 1, "course:purchase-order:export", "养生课程购买订单导出按钮"));
        menuIds.add(saveMenu(4132L, 4130L, "退款养生课程购买订单", "trade_health_course_purchase_order_refund", "B",
                null, null, null, 2, "course:purchase-order:refund", "养生课程购买订单退款按钮"));
        menuIds.add(saveMenu(4133L, 4130L, "删除养生课程购买订单", "trade_health_course_purchase_order_delete", "B",
                null, null, null, 3, "course:purchase-order:delete", "养生课程购买订单删除按钮"));
        menuIds.add(saveMenu(4120L, 4100L, "会员购买订单", "trade_member_purchase_order", "C",
                "/trade/order/member-purchase", "Trade/MemberPurchase", null, 9, "member:purchase-order:view", "会员购买订单菜单"));
        menuIds.add(saveMenu(4121L, 4120L, "导出会员购买订单", "trade_member_purchase_order_export", "B",
                null, null, null, 1, "member:purchase-order:export", "会员购买订单导出按钮"));
        menuIds.add(saveMenu(4122L, 4120L, "退款会员购买订单", "trade_member_purchase_order_refund", "B",
                null, null, null, 2, "member:purchase-order:refund", "会员购买订单退款按钮"));
        menuIds.add(saveMenu(4123L, 4120L, "删除会员购买订单", "trade_member_purchase_order_delete", "B",
                null, null, null, 3, "member:purchase-order:delete", "会员购买订单删除按钮"));
        menuIds.add(saveMenu(4110L, 4100L, "积分兑换", "trade_points_exchange", "C",
                "/trade/order/points-exchange", "Trade/PointsExchange", null, 10, "points:exchange:view", "积分兑换菜单"));
        menuIds.add(saveMenu(4111L, 4110L, "兑换详情", "trade_points_exchange_detail", "B",
@@ -245,8 +329,16 @@
                null, null, null, 4, "points:exchange:export", "积分兑换导出按钮"));
        menuIds.add(saveMenu(4200L, 4000L, "财务流水", "trade_finance_flow_group", "M",
                "/trade/flow", null, null, 20, null, "财务流水目录"));
        menuIds.add(saveMenu(4220L, 4200L, "支付流水", "trade_payment_flow", "C",
                "/trade/flow/payment-flow", "Trade/PaymentFlow", null, 10, "payment:flow:view", "支付流水菜单"));
        menuIds.add(saveMenu(4221L, 4220L, "导出支付流水", "trade_payment_flow_export", "B",
                null, null, null, 1, "payment:flow:export", "支付流水导出按钮"));
        menuIds.add(saveMenu(4230L, 4200L, "退费流水", "trade_refund_flow", "C",
                "/trade/flow/refund-flow", "Trade/RefundFlow", null, 20, "refund:flow:view", "退费流水菜单"));
        menuIds.add(saveMenu(4231L, 4230L, "导出退费流水", "trade_refund_flow_export", "B",
                null, null, null, 1, "refund:flow:export", "退费流水导出按钮"));
        menuIds.add(saveMenu(4210L, 4200L, "积分收支明细", "trade_points_ledger", "C",
                "/trade/flow/points-ledger", "Trade/PointsLedger", null, 10, "points:ledger:view", "积分收支明细菜单"));
                "/trade/flow/points-ledger", "Trade/PointsLedger", null, 30, "points:ledger:view", "积分收支明细菜单"));
        menuIds.add(saveMenu(4211L, 4210L, "导出积分收支明细", "trade_points_ledger_export", "B",
                null, null, null, 1, "points:ledger:export", "积分收支明细导出按钮"));
        return menuIds;