duhuizhe
2024-05-15 aa2c3d4deba76ade0958ff3ced88396e226a4964
ecosphere/ecosphere-four-payment/src/main/resources/application.yml
@@ -1,37 +1,41 @@
swagger:
  base-package: com.nuvole.four
spring:
  http:
    encoding:
      charset: UTF-8
      enabled: true
      force: true
  servlet:
    #允许传输文件大小配置
    multipart:
      max-file-size: 100Mb
      max-request-size: 200Mb
#    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
#  redis:
#    jedis:
#      pool:
#        max-active: 2000
#        max-wait: -1
#        max-idle: 10
#        min-idle: 0
#    timeout: 30000
    #druid 链接池
  rabbitmq:
    publisher-confirms: true
#    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
@@ -82,17 +86,22 @@
            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
  #资源文件映射
  resources:
    static-locations: classpath:/static/,classpath:/public/,file:${file.upPath},file:${file.sysPath},file:${file.poster.path}
  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
  mapper-locations: classpath*:mapping/**/*Mapper.xml
  type-aliases-package: com.nuvole.four.domain
  configuration:
    map-underscore-to-camel-case: true
@@ -103,7 +112,6 @@
  params: count=countSql
#日志配置
logging:
  file: log/out.log
  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"
@@ -129,6 +137,11 @@
    max-threads: 1000
    max-connections: 1000
    basedir: tomcat
  servlet:
    encoding:
      charset: UTF-8
      enabled: true
      force: true
tl:
  could: