maven
2025-11-19 c27858b16969db1ff313b73f017187e06bf5aa9c
src/main/resources/application-dev.yml
@@ -17,7 +17,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 7003
  port: 8080
  servlet:
    # 应用的访问路径
    context-path: /
@@ -62,7 +62,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3306/product-inventory-management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3306/product-inventory-management-hysn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
      # 从库数据源
@@ -134,7 +134,7 @@
  # redis 配置
  redis:
    # 地址
    host: 127.0.0.1
    host: 192.168.1.185
#    host: 172.17.0.1
    # 端口,默认为6379
    port: 6379