疯狂的狮子Li
2024-02-26 5f7f8a31e934a1db0c62e7135b48967ac39fb074
ruoyi-admin/src/main/resources/application.yml
@@ -47,6 +47,7 @@
    org.dromara: @logging.level@
    org.springframework: warn
    tech.powerjob.worker.background: warn
    org.mybatis.spring.mapper: error
  config: classpath:logback-plus.xml
# 用户配置
@@ -61,6 +62,10 @@
spring:
  application:
    name: ${ruoyi.name}
  threads:
    # 开启虚拟线程 仅jdk21可用
    virtual:
      enabled: false
  # 资源信息
  messages:
    # 国际化资源文件路径
@@ -133,12 +138,12 @@
    - sys_user_post
    - sys_user_role
    - sys_client
    - sys_oss_config
# MyBatisPlus配置
# https://baomidou.com/config/
mybatis-plus:
  # 不支持多包, 如有需要可在注解配置 或 提升扫包等级
  # 例如 com.**.**.mapper
  # 多包名使用 例如 org.dromara.**.mapper,org.xxx.**.mapper
  mapperPackage: org.dromara.**.mapper
  # 对应的 XML 文件位置
  mapperLocations: classpath*:mapper/**/*Mapper.xml
@@ -225,6 +230,7 @@
  urlPatterns: /system/*,/monitor/*,/tool/*
# 全局线程池相关配置
# 如使用JDK21请直接使用虚拟线程 不要开启此配置
thread-pool:
  # 是否开启线程池
  enabled: false