6 小时以前 6f81bb5170b667e6cf3b7f31868e29c258f90c27
src/main/resources/application-yzfx.yml
@@ -26,7 +26,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 9021
  port: 9003
  servlet:
    # 应用的访问路径
    context-path: /
@@ -71,9 +71,9 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://172.17.0.1:3306/product-inventory-management-yzfx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://172.17.0.1:9002/product-inventory-management-yzfx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: xd@123456..
        password: yzfx@123456..
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
@@ -143,7 +143,7 @@
  # redis 配置
  data:
    mongodb:
      uri: mongodb://114.132.189.42:9028/chat_memory_db
      uri: mongodb://114.132.189.42:9028/chat_memory_db_yzfx
    # redis 配置
    redis:
      # 地址
@@ -258,7 +258,7 @@
  upload-dir: /javaWork/product-inventory-management/file/prod/uploads # 正式目录
  path: /javaWork/product-inventory-management/file # 上传目录
  urlPrefix: /prod-api/common # 链接前缀
  domain: http://1.15.17.182:9049 # 域名前缀
  domain: http://42.63.70.231:9001 # 域名前缀
  expired: 120 # 过期时间(单位:分钟)
  useLimit: 10 # 使用次数
  compress: true # 是否压缩