2026-04-21 ea081e2d52bc05d012042bc4fa8d26261498142b
src/main/resources/application-dev.yml
@@ -28,7 +28,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 7003
  port: 7005
  servlet:
    # 应用的访问路径
    context-path: /
@@ -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-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: xd@123456..
        password: 123456
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭