swagger: base-package: com.nuvole.four spring: # servlet: # #允许传输文件大小配置 # multipart: # max-file-size: 100Mb # max-request-size: 200Mb application: name: service-four-payment # redis: # jedis: # pool: # max-active: 2000 # max-wait: -1 # max-idle: 10 # min-idle: 0 # timeout: 30000 #druid 链接池 rabbitmq: # publisher-confirms: true publisher-returns: true listener: direct: acknowledge-mode: manual simple: acknowledge-mode: manual port: 5672 username: super password: Jmy2019. virtual-host: ecosphere host: 116.198.40.76 datasource: druid: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://116.198.40.76:3306/ecosphere_shop_basics?characterEncoding=utf8&autoReconnect=true&useSSL=false username: root password: Bjjmy_2020 min-idle: 5 initial-size: 5 async-init: true async-close-connection-enable: true max-active: 150 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 30000 validation-query: SELECT 1 FROM DUAL test-while-idle: true test-on-borrow: false test-on-return: false pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 filters: stat,wall,log4j2 connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 web-stat-filter: enabled: true url-pattern: /* exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" session-stat-enable: true profile-enable: true stat-view-servlet: enabled: false url-pattern: /druid/* login-username: stqAdmin login-password: m2UdVE40efM6A8FsCznj31JBt reset-enable: false allow: 127.0.0.1 # deny: 黑名单 filter: stat: enabled: true log-slow-sql: true slow-sql-millis: 3000 merge-sql: true db-type: mysql wall: enabled: true db-type: mysql config: alter-table-allow: false truncate-allow: false drop-table-allow: false none-base-statement-allow: false update-where-alay-true-check: true select-into-outfile-allow: false metadata-allow: true log-violation: true throw-exception: true # driver-class-name: com.mysql.jdbc.Driver # url: jdbc:mysql://116.198.40.76:3306/ecosphere_shop_basics?characterEncoding=utf8&autoReconnect=true&useSSL=false # username: root # password: Bjjmy_2020 #资源文件映射 banner: location: banner.txt jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 web: resources: static-locations: classpath:/static/,classpath:/public/,file:${file.upPath},file:${file.sysPath},file:${file.poster.path} #mybaits映射配置 mybatis: mapper-locations: classpath*:mapping/**/*Mapper.xml type-aliases-package: com.nuvole.four.domain configuration: map-underscore-to-camel-case: true pagehelper: helper-dialect: mysql reasonable: false support-methods-s'y'sarguments: true params: count=countSql #日志配置 logging: pattern: console: "%d{yyyy/MM/dd-HH:mm:ss} [%thread] %-5level %logger- %msg%n" file: "%d{yyyy/MM/dd-HH:mm} [%thread] %-5level %logger- %msg%n" level: root: info com.nuvole.four: debug feign: hystrix: enabled: true hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 32000 ribbon: ConnectTimeout: 10000 ReadTimeout: 30000 server: tomcat: uri-encoding: UTF-8 max-threads: 1000 max-connections: 1000 basedir: tomcat servlet: encoding: charset: UTF-8 enabled: true force: true tl: could: fee: 0 # 会员日配置 memberFlash: #每周几开启 5 为周五,7为周日 startWeekDay: 5