chenhj
2026-04-25 68f0d9a4cce457e9623e55b14858f7e5ea4c4622
src/main/resources/application-dev-pro.yml
@@ -53,14 +53,6 @@
    com.ruoyi: warn
    org.springframework: warn
minio:
  endpoint: http://114.132.189.42/
  port: 7019
  secure: false
  accessKey: admin
  secretKey: 12345678
  preview-expiry: 24 # 预览地址默认24小时
  default-bucket: uploadPath
# 用户配置
user:
  password:
@@ -79,7 +71,7 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://localhost:3307/product-inventory-management-new-pro?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        url: jdbc:mysql://localhost:3306/product-inventory-management-new-pro?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
        username: root
        password: 123456
      # 从库数据源
@@ -259,6 +251,7 @@
  # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
  allowOverwrite: false
# 文件上传配置
file:
  temp-dir: D:/ruoyi/temp/uploads   # 临时目录
  upload-dir: D:/ruoyi/prod/uploads # 正式目录
@@ -269,4 +262,4 @@
  useLimit: 10 # 使用次数
  compress: true # 是否压缩
  needCompressSize: 10MB # 压缩阈值
  compressQuality: 0.1 # 压缩质量(0.0-1.0)
  compressQuality: 0.5 # 压缩质量(0.0-1.0)