server.port= 30000 # Cache spring.cache.type=redis spring.redis.host=localhost spring.redis.port=6379 spring.redis.password= # JWT jwt.header=Authorization jwt.secret=8UbBmq9LNnPKFc4sFN7ZF2TTCGbCXTsy jwt.expiration=999604800 #jwt.expiration=604800 jwt.tokenHead=Bearer jwt.route.authentication.path=auth jwt.route.authentication.refresh=refresh jwt.route.authentication.register=auth/register # JPA spring.jpa.properties.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.use_sql_comments=true //指出是什么操作生成了该语句 spring.jpa.show-sql=false spring.jpa.generate-ddl=true spring.jpa.properties.hibernate.hbm2ddl.auto=update spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect # Security spring.security.user.username=admin spring.security.user.password=admin spring.security.password=admin # Durid spring.datasource.sql-script-encoding=utf-8 spring.datasource.initialization-mode=always spring.datasource.druid.driverClassName=com.mysql.jdbc.Driver spring.datasource.druid.url=jdbc:mysql://alawn.cn:3308/bill?useUnicode=true&characterEncoding=utf-8&useSSL=false spring.datasource.druid.max-open-prepared-statements=25 spring.datasource.druid.username=bill spring.datasource.druid.password=hePC=hG2iVbp spring.datasource.druid.initialSize=5 spring.datasource.druid.minIdle=1 spring.datasource.druid.maxActive=50 spring.datasource.druid.maxWait=60000 spring.datasource.druid.timeBetweenEvictionRunsMillis=60000 spring.datasource.druid.minEvictableIdleTimeMillis=300000 spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL spring.datasource.druid.testWhileIdle=true spring.datasource.druid.testOnBorrow=false spring.datasource.druid.testOnReturn=false spring.datasource.druid.poolPreparedStatements=false spring.datasource.druid.maxPoolPreparedStatementPerConnectionSize=20 # Druid.Master 监控配置 spring.datasource.druid.connection-properties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 spring.datasource.druid.stat-view-servlet.reset-enable=false spring.datasource.druid.master.filter.stat.log-slow-sql=true spring.datasource.druid.filter.stat.slow-sql-millis=2000 spring.datasource.druid.filters=stat,wall,slf4j #spring.datasource.druid.filters=config,stat,wall,slf4j spring.datasource.druid.filter.slf4j.connection-log-enabled=true spring.datasource.druid.useGlobalDataSourceStat=true spring.datasource.druid.filter.slf4j.enabled=true spring.datasource.druid.filter.slf4j.data-source-log-enabled=true spring.datasource.druid.filter.slf4j.result-set-log-enabled=true spring.datasource.druid.filter.slf4j.statement-parameter-set-log-enabled=true spring.datasource.druid.filter.slf4j.statement-parameter-clear-log-enable=true spring.datasource.druid.filter.slf4j.statement-create-after-log-enabled=true spring.datasource.druid.filter.slf4j.statement-log-enabled=true spring.datasource.druid.filter.slf4j.statement-executable-sql-log-enable=true spring.datasource.druid.filter.slf4j.statement-execute-after-log-enabled=true spring.datasource.druid.filter.slf4j.statement-execute-update-after-log-enabled=true spring.datasource.druid.filter.slf4j.statement-execute-batch-after-log-enabled=true # Logging logging.level.root=info logging.level.org.springframework=info logging.level.org.springframework.jdbc=debug logging.level.org.springframework.boot=info #logging.level.org.mybatis=info logging.level.org.hibernate.SQL=debug logging.level.com.alibaba.druid=debug logging.level.com.github.trang=info logging.level.executableSql=debug