feat(config): 添加 rui-service-starter Nacos 配置模板和 modules 配置示例
- 新增 rui-service-starter.yaml Nacos 配置模板(含 modules 配置) - 更新 application-template.yml 添加 modules 配置说明和示例 对应工单 #1
This commit is contained in:
@@ -56,6 +56,23 @@ spring:
|
||||
# 无 MyBatis 的模块(gateway)请删除下面这行
|
||||
- optional:nacos:rui-data.${spring.cloud.nacos.config.file-extension:yaml}
|
||||
|
||||
# ============================================================================
|
||||
# 模块管理配置(可选,仅在需要管理租户模块时配置)
|
||||
# 配置位置:Nacos rui-service-starter.yaml 或本模块的 Nacos 配置
|
||||
# ============================================================================
|
||||
# rui:
|
||||
# modules:
|
||||
# # 全局可用模块列表(供租户管理的模块配置弹窗使用)
|
||||
# available:
|
||||
# - code: system
|
||||
# name: 系统管理
|
||||
# icon: tabler:settings
|
||||
# - code: user
|
||||
# name: 用户管理
|
||||
# icon: tabler:users
|
||||
# # 默认启用模块(新租户默认开启,逗号分隔)
|
||||
# default-enabled: system,user
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
|
||||
Reference in New Issue
Block a user