server: port: 8001 tomcat: uri-encoding: UTF-8 spring: mvc: static-path-pattern: /static/** resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,classpath:/webjars/ main: allow-circular-references: true datasource: username: root password: root url: jdbc:mysql://localhost:3306/sys?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&useSSL=true type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 20 min-idle: 20 max-active: 100 max-wait: 600 stat-view-servlet: enabled: true url-pattern: /druid/* login-username: admin login-password: 123456 filter: stat: enabled: true slow-sql-millis: 2000 log-slow-sql: true wall: enabled: true config: enabled: true data: redis: host: localhost port: 6379 application: security: jwt: secret-key: qwerty expiration: 86400000 # a day refresh-token: expiration: 604800000 # 7 days springdoc: api-docs: # 是否开启接口文档 path: /v3/api-docs enabled: true swagger-ui: # 持久化认证数据,如果设置为 true,它会保留授权数据并且不会在浏览器关闭/刷新时丢失 enabled: true path: /swagger-ui/index.html