疯狂的狮子Li
2024-08-26 098d3347a0df808908aab8c554cd7c4febc5e6d9
ruoyi-admin/src/main/resources/application.yml
@@ -5,7 +5,7 @@
  # 版本
  version: ${revision}
  # 版权年份
  copyrightYear: 2023
  copyrightYear: 2024
captcha:
  enable: true
@@ -46,7 +46,6 @@
  level:
    org.dromara: @logging.level@
    org.springframework: warn
    tech.powerjob.worker.background: warn
    org.mybatis.spring.mapper: error
  config: classpath:logback-plus.xml
@@ -80,6 +79,8 @@
      # 设置总上传的文件大小
      max-request-size: 20MB
  mvc:
    # 设置静态资源路径 防止所有请求都去查静态资源
    static-path-pattern: /static/**
    format:
      date-time: yyyy-MM-dd HH:mm:ss
  jackson:
@@ -120,9 +121,6 @@
    # swagger 文档配置
    - /*/api-docs
    - /*/api-docs/**
    # actuator 监控配置
    - /actuator
    - /actuator/**
# 多租户配置
tenant:
@@ -258,10 +256,15 @@
    logfile:
      external-file: ./logs/sys-console.log
--- # 默认/推荐使用sse推送
sse:
  enabled: true
  path: /resource/sse
--- # websocket
websocket:
  # 如果关闭 需要和前端开关一起关闭
  enabled: true
  enabled: false
  # 路径
  path: /resource/websocket
  # 设置访问源地址
@@ -269,6 +272,10 @@
--- #flowable配置
flowable:
  # 开关 用于启动/停用工作流
  enabled: true
  process.enabled: ${flowable.enabled}
  eventregistry.enabled: ${flowable.enabled}
  async-executor-activate: false #关闭定时任务JOB
  #  将databaseSchemaUpdate设置为true。当Flowable发现库与数据库表结构不一致时,会自动将数据库表结构升级至新版本。
  database-schema-update: true