iailab-module-system/iailab-module-system-biz/src/main/resources/application.yaml
@@ -1,7 +1,18 @@
spring:
  application:
    name: system-server
  profiles:
    active: local
  main:
    allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。
    allow-bean-definition-overriding: true # 允许 Bean 覆盖,例如说 Feign 等会存在重复定义的服务
  config:
    import:
      - optional:classpath:application-${spring.profiles.active}.yaml # 加载【本地】配置
      - optional:nacos:${spring.application.name}-${spring.profiles.active}.yaml # 加载【Nacos】的配置
  # Servlet 配置
  servlet:
@@ -26,6 +37,13 @@
    type: REDIS
    redis:
      time-to-live: 1h # 设置过期时间为 1 小时
server:
  port: 48081
logging:
  file:
    name: ${user.home}/logs/${spring.application.name}.log # 日志文件名,全路径
--- #################### 接口文档配置 ####################
@@ -140,13 +158,14 @@
  web:
    admin-ui:
      url: http://dashboard.iailab.iocoder.cn # Admin 管理后台 UI 的地址
  xss:
    enable: false
    exclude-urls: # 如下 url,仅仅是为了演示,去掉配置也没关系
      - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
  swagger:
    title: 管理后台
    description: 提供管理员管理的所有功能
    version: ${iailab.info.version}
    base-package: ${iailab.info.base-package}
  captcha:
    enable: true # 验证码的开关,默认为 true;
  tenant: # 多租户相关配置项
    enable: true
    ignore-urls: