debug=true spring.main.lazy-initialization=false spring.main.allow-bean-definition-overriding=true # application server.port=8082 # mybatis-plus mybatis-plus.mapper-locations=classpath*:mapper/**/*.xml mybatis-plus.configuration.lazy-loading-enabled=true mybatis-plus.configuration.map-underscore-to-camel-case=true mybatis-plus.global-config.db-config.id-type=auto mybatis-plus.global-config.mapperRegistryCache=true mybatis-plus.configuration.defaultStatementTimeout=3 mybatis.refresh.enabled=true mybatis.refresh.delay-seconds=10 mybatis.refresh.sleep-seconds=20 # datasource spring.autoconfigure.exclude=com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure spring.datasource.dynamic.primary=product spring.datasource.dynamic.datasource.product.url=jdbc:mysql://dev1.shuqian.com:3306/product?allowMultiQueries=true&createDatabaseIfNotExist=true&autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&rewriteBatchedStatements=true&useCompression=true spring.datasource.dynamic.datasource.product.username=dev spring.datasource.dynamic.datasource.product.password=Coozo0628 #老库 spring.datasource.dynamic.datasource.old.url=jdbc:mysql://dev1.shuqian.com:3306/amazonold?allowMultiQueries=true&createDatabaseIfNotExist=true&autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false&rewriteBatchedStatements=true spring.datasource.dynamic.datasource.old.username=dev spring.datasource.dynamic.datasource.old.password=Coozo0628 spring.datasource.dynamic.druid.initial-size=5 spring.datasource.dynamic.druid.min-idle=5 spring.datasource.dynamic.druid.max-active=30 spring.datasource.dynamic.druid.max-wait=60000 spring.datasource.dynamic.druid.validation-query=select 1 spring.datasource.dynamic.druid.test-while-idle=true spring.datasource.dynamic.druid.test-on-borrow=true spring.datasource.dynamic.druid.test-on-return=false spring.datasource.dynamic.druid.pool-prepared-statements=true spring.datasource.dynamic.druid.max-pool-prepared-statement-per-connection-size=20 spring.datasource.dynamic.druid.time-between-eviction-runs-millis=60000 spring.datasource.dynamic.druid.min-evictable-idle-time-millis=300000 spring.datasource.dynamic.druid.filters=wall,stat,log4j2 # druid \u76D1\u63A7 WebStatFilter\u914D\u7F6E spring.datasource.druid.web-stat-filter.enabled=true spring.datasource.druid.web-stat-filter.url-pattern=/* spring.datasource.druid.web-stat-filter.exclusions=*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/* spring.datasource.druid.web-stat-filter.profile-enable=true # druid \u89C6\u56FE StatViewServlet\u914D\u7F6E spring.datasource.druid.stat-view-servlet.enabled=true spring.datasource.druid.stat-view-servlet.url-pattern=/druid/* spring.datasource.druid.stat-view-servlet.reset-enable=true spring.datasource.druid.stat-view-servlet.login-username=admin spring.datasource.druid.stat-view-servlet.login-password=@dmin1234 # datasource log spring.datasource.druid.filter.slf4j.enabled=true spring.datasource.druid.filter.slf4j.statement-create-after-log-enabled=false spring.datasource.druid.filter.slf4j.statement-close-after-log-enabled=false spring.datasource.druid.filter.slf4j.result-set-open-after-log-enabled=false spring.datasource.druid.filter.slf4j.result-set-close-after-log-enabled=false # jackson spring.jackson.date-format=yyyy-MM-dd'T'HH:mm:ssZ spring.jackson.time-zone=GMT+0 spring.jackson.default-property-inclusion=always #spring.jackson.serialization.indent_output=true spring.jackson.serialization.fail-on-empty-beans=false spring.jackson.deserialization.fail-on-unknown-properties=false spring.jackson.parser.allow-unquoted-control-chars=true spring.jackson.parser.allow-single-quotes=true # gzip server.compression.enabled=true server.compression.mime-types=application/javascript,text/css,application/json,application/xml,text/html,text/xml,text/plain