zhang
2 天以前 11c50b4816162753dd40ce5f501487d939196f69
zy-acs-manager/src/main/resources/application.yml
@@ -1,6 +1,6 @@
server:
  port: 8088
# 192.168.137.66
spring:
  application:
    name: @pom.artifactId@
@@ -8,8 +8,7 @@
    static-path-pattern: /**
  datasource:
    driver-class-name: com.mysql.jdbc.Driver
#    url: jdbc:mysql://127.0.0.1:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://mysql:3306/zy_rcs1?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://10.10.10.200:3306/jbly?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: xltys1995
    type: com.alibaba.druid.pool.DruidDataSource
@@ -35,24 +34,25 @@
        reset-enable: true
        login-username: admin
        login-password: admin
        enabled: true
  servlet:
    multipart:
      maxFileSize: 100MB
      maxRequestSize: 100MB
  jmx:
    enabled: false
  mail:
    host: smtp.qq.com
    username:
    password:
    default-encoding: UTF-8
    properties:
      mail:
        smtp:
          auth: true
          socketFactory:
            class: javax.net.ssl.SSLSocketFactory
            port: 465
redis:
  host: 10.10.10.200
  password: xltys1995
  port: 6379
  max: 30
  min: 10
  timeout: 5000
  index: 3
floyd:
  enable: false
eureka:
  client:
@@ -62,10 +62,10 @@
mybatis-plus:
  mapper-locations: classpath:mapper/*/*.xml
#  global-config:
#    field-strategy: 0
  #  global-config:
  #    field-strategy: 0
  configuration:
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    #    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true
    cache-enabled: true
  global-config:
@@ -77,20 +77,8 @@
logging:
  file:
    path: /stock/out/rcs-manager/logs
    path: stock/out/rcs-manager/logs
#redis的相关配置
redis:
#  host: 127.0.0.1
  host: redis
  password: xltys1995
  port: 6379
  max: 30
  min: 10
  timeout: 5000
  index: 3
# 框架配置
config:
  open-office-home: C
  swagger-base-package: com.zy.acs