application-dev.yaml 1.82 KB
server:
  port: 8866
  servlet:
    session:
      timeout: 43200

spring:
  servlet:
    multipart:
      maxFileSize: 10MB
      maxRequestSize: 10MB
  application:
    name: archive-system
  profiles:
    active: dev
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
    default-property-inclusion: non_null
  datasource:
    driver-class-name: oracle.jdbc.driver.OracleDriver
    username: dangan1
    password: dangan1
    url: jdbc:oracle:thin:@192.168.2.218:1521:orcl

mybatis-plus:
  mapper-locations: classpath:mapper/**/*.xml
  typeAliasesPackage: archive
  global-config:
    #主键类型  0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
    id-type: 2
    #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
    field-strategy: 1
    #驼峰下划线转换
    db-column-underline: true
    #刷新mapper 调试神器
    refresh-mapper: true
    #数据库大写下划线转换
    #capital-mode: true
    #序列接口实现类配置
    #key-generator: com.baomidou.springboot.xxx
    #逻辑删除配置
    logic-delete-value: -1
    logic-not-delete-0: 0
    #自定义填充策略接口实现
    #meta-object-handler: com.baomidou.springboot.xxx
    #自定义SQL注入器
    #    sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
    configuration:
      map-underscore-to-camel-case: true
      cache-enabled: false
      call-setters-on-nulls: true
      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl

management:
  endpoints:
    web:
      exposure:
        include: "*"

logging:
  level:
    rent:
      mapper: debug
  config: "classpath:logback-spring.xml"

minio:
  params:
    type: http://
    bucket: archive
    endpoint: 192.168.2.218
    port: 8989
    accessKeyId: minioadmin
    accessKeySecret: minioadmin