龚焕茏
2024-06-12 607b15cde6515d18de64a40e17c5aef7fcf24bcb
src/main/resources/application.yml
@@ -1,4 +1,7 @@
server:
  servlet:
    session:
      timeout: 7200
  port: 8000
  undertow:
    io-threads: 16
@@ -13,6 +16,9 @@
logging:
  config: classpath:logback-spring.xml
  file: xzs
  level:
    com.lucifer.springboot.cache.mapper: debug
#mybatis plus
mybatis-plus:
@@ -23,7 +29,7 @@
      logic-not-delete-value: 0 # 没有删除的值
  configuration:
    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 通用枚举处理器
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  type-enums-package: com.ycl.jxkg.domain.enums.general # 通用枚举所在包路径
  mapper-locations: classpath*:mapper/*.xml # mapper.xml位置
@@ -64,6 +70,11 @@
    hikari:
      idle-timeout: 600000  #10 min
      max-lifetime: 1800000 #30 min
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 500MB
  #runningtime environment
  profiles:
    active: dev