zss
2024-12-27 ebede85283906f52dd45d0755d22140538038ac3
system-run/src/main/resources/application-dev.yml
@@ -5,12 +5,12 @@
logging:
  config: classpath:logback-spring.xml
  # 日志存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
  file-location: D:\Download\log
  file-location: D:\项目文件存储\log
# 数据库备份路径
backup:
  # 数据库备份路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
  path: #D:\Download\log
  path: D:\Download\log
  # 数据库备份天数
  destiny: 7
  # 数据库备份工具路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
@@ -18,17 +18,22 @@
# 照片存储路径+++++++++++++++++++++++++++运维需要配置+++++++++++++++++++++++++++
file:
  path: D:\Download\公司存储地址
  path: D:\项目文件存储\image
  # 上传文件允许的扩展名
  allowed: png,jpg,jpeg,gif
wordUrl: D:\Download\公司存储地址
wordUrl: D:\项目文件存储\word
twoCode: D:\项目文件存储\two_code
mybatis-plus:
  type-aliases-package: com.yuanchu.mom.pojo
  mapper-locations: classpath*:/mapper/*.xml
  configuration:
    log-impl: #org.apache.ibatis.logging.stdout.StdOutImpl # 开启mybatis-plus日志
  global-config:
    worker-id: ${random.int(1,31)}
    datacenter-id: ${random.int(1,31)}
# 数据源配置
@@ -36,9 +41,14 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://114.132.189.42:9004/center-lims?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
    username: root
    password: 123456
#    url: jdbc:mysql://localhost:3306/center-lims?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
    url: jdbc:mysql://10.1.13.77:3306/center-lims?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
#    url: jdbc:mysql://192.168.22.29:3306/center-lims?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
    username: remote_user
#    username: root
#    password: 123456
    password: zttZTT123!
#    password: Dq<)dAiAczXs
    druid:
      #   Druid数据源配置
      initialSize: 5 # 初始连接数
@@ -65,7 +75,8 @@
    # redis端口(默认为6379)
    port: 6379
    # redis访问密码(默认为空)
    password: null
    password: 123456
#    password: zttZTT123!
    # redis连接超时时间(单位毫秒)
    timeout: 50
    # redis连接池配置
@@ -77,5 +88,4 @@
      # 最小空闲连接数(默认为0,该值只有为正数才有用)
      min-idle: 0
      # 从连接池中获取连接最大等待时间(默认为-1,单位为毫秒,负数表示无限)
      max-wait: -1
      max-wait: -1