liding
2026-04-07 ca1c7d27e81d590f5e48b4102d18898b85d5d2fa
src/main/resources/application-dev.yml
@@ -28,7 +28,7 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 7003
  port: 8888
  servlet:
    # 应用的访问路径
    context-path: /
@@ -42,13 +42,6 @@
      max: 800
      # Tomcat启动初始化的线程数,默认值10
      min-spare: 100
# 日志配置
logging:
  level:
    org.quartz: DEBUG
    com.ruoyi: warn
    org.springframework: warn
minio:
  endpoint: http://114.132.189.42/
@@ -74,8 +67,10 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3306/product-inventory-management-new?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
#        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:3307/product-inventory-management-pcdz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
#        password: xd@123456..
        password: 123456
      # 从库数据源
      slave:
@@ -154,7 +149,7 @@
    database: 0
    # 密码
    #    password: root2022!
    password:
    password: 123456
    # 连接超时时间
    timeout: 10s
@@ -205,17 +200,31 @@
# MyBatis Plus配置
mybatis-plus:
  # 搜索指定包别名   根据自己的项目来
  typeAliasesPackage: com.ruoyi.**.pojo
  # 配置mapper的扫描,找到所有的mapper.xml映射文件
  mapperLocations: classpath*:mapper/**/*Mapper.xml
  # 加载全局的配置文件
  configLocation: classpath:mybatis/mybatis-config.xml
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true
  type-aliases-package: com.ruoyi.**.pojo
  mapper-locations: classpath*:mapper/**/*Mapper.xml
  global-config:
    enable-sql-runner: true
    banner: false
    db-config:
      id-type: auto
# 日志配置
logging:
  level:
    root: INFO
    com.ruoyi.production.mapper: DEBUG
    org.apache.ibatis: DEBUG
    org.mybatis: DEBUG
    java.sql: DEBUG
    java.sql.Connection: DEBUG
    java.sql.Statement: DEBUG
    java.sql.PreparedStatement: DEBUG
    java.sql.ResultSet: DEBUG
    com.baomidou.mybatisplus: DEBUG
    com.baomidou.mybatisplus.core: DEBUG
# PageHelper分页插件
pagehelper:
  helperDialect: mysql