maven
3 天以前 acc051c2baa3a2bf912db155c659f71d500c1d1e
src/main/resources/application-demo.yml
@@ -17,7 +17,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8089
  port: 9036
  servlet:
    # 应用的访问路径
    context-path: /
@@ -62,9 +62,9 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://114.132.189.42:9004/product-inventory-management-demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://192.168.1.185:3306/product-inventory-management-demo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
        password: xd@123456..
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
@@ -134,15 +134,15 @@
  # redis 配置
  redis:
    # 地址
    host: 127.0.0.1
#    host: 172.17.0.1
#    host: 127.0.0.1
    host: 172.17.0.1
    # 端口,默认为6379
    port: 6379
    # 数据库索引
    database: 0
    # 密码
    password: root2022!
#    password:
#    password: root2022!
    password:
    # 连接超时时间
    timeout: 10s