server: port: 24001 tomcat: uri-encoding: UTF-8 servlet: session: timeout: 3600 spring: mvc: pathmatch: matching-strategy: ant_path_matcher datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://49.4.21.141:45611/obpm2?useUnicode=true&characterEncoding=utf8&useCompression=true&serverTimezone=GMT%2B8&useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL username: bcx password: Wstestv5qy#2022 redis: host: 49.4.21.141 #地址 port: 6328 #端口 password: redis20240628 timeout: 30000 # 连接超时时间(毫秒) database: 8 #默认数据库 lettuce: pool: # 连接池中的最小空闲连接 min-idle: 0 # 连接池中的最大空闲连接 max-idle: 10 # 连接池的最大数据库连接数 max-active: 200 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms mybatis-plus: mapper-locations: classpath:mybatis/*Mapper.xml configuration: default-executor-type: batch cache-enabled: false use-generated-keys: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 字段名称下划线转驼峰命名 map-underscore-to-camel-case: true # PageHelper分页插件 pagehelper: helperDialect: mysql supportMethodsArguments: true params: count=countSql # 日志 logging: level: com: bcxin: statistics: info config: classpath:logback-spring.xml log: # 日志是否上传 posh: false # 日志存放目录 path: /Users/linchunpeng/Documents/logs # 日志打印级别 默认 info level: info bcx-level: info # 是否控制台输出,默认true stdout: true # swagger 配置 swagger: #是否显示swagger true:显示 false:不显示 enabled: true