server: port: 8099 spring: mvc: pathmatch: matching-strategy: ant_path_matcher datasource: url: jdbc:mysql://localhost:3306/erp_customer_client?serverTimezone=GMT%2b8 username: root password: beibo.123/ driver-class-name: com.mysql.cj.jdbc.Driver # Druid 连接池的基本属性 druid: initial-size: 5 # 连接池初始化时创建的连接数 min-idle: 5 # 连接池中保持的最小空闲连接数 max-active: 300 # 连接池中允许的最大活动连接数 max-wait: 60000 # 获取连接时的最大等待时间,超过此时间将抛出异常 time-between-eviction-runs-millis: 60000 # 两次检查连接的时间间隔 min-evictable-idle-time-millis: 300000 # 连接最小空闲时间,超过这个时间的连接将被回收 remove-abandoned: true # 是否自动回收超时连接 remove-abandoned-timeout-millis: 1800 # 自动回收超时连接的等待时间 knife4j: enable: true