xiangpei
2024-07-12 e9c1bc2e789f6f9f8c52fbd10788ad5a0d1f841b
src/main/resources/application.yml
@@ -1,4 +1,7 @@
server:
  servlet:
    session:
      timeout: 18000
  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,8 +29,8 @@
      logic-not-delete-value: 0 # 没有删除的值
  configuration:
    default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 通用枚举处理器
  #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  type-enums-package: com.monkeylessey.enums.general # 通用枚举所在包路径
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 日志打印
  type-enums-package: com.ycl.jxkg.domain.enums.general # 通用枚举所在包路径
  mapper-locations: classpath*:mapper/*.xml # mapper.xml位置
system:
@@ -60,11 +66,17 @@
#mybatis datasource default HikariPool
spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  datasource:
    hikari:
      idle-timeout: 600000  #10 min
      max-lifetime: 1800000 #30 min
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 500MB
  #runningtime environment
  profiles: