6 天以前 8e9ab401007536fee2eb4fa1ada3798d20961e6c
src/main/resources/application-dev.yml
@@ -74,9 +74,9 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://1.15.17.182:9999/product-inventory-management-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3306/product-inventory-management-dlsmls?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: xd@123456..
        password: 123456
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
@@ -146,8 +146,8 @@
  # redis 配置
  redis:
    # 地址
    host: 127.0.0.1
    #    host: 172.17.0.1
    host: localhost
#    host: 172.17.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引