From 3c94476f51df2b90787f9c7c0762a18e3094b80d Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期四, 10 七月 2025 15:01:22 +0800
Subject: [PATCH] yys 修改文件上传接口
---
src/main/resources/application.yml | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 6643c25..a987879 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -38,6 +38,14 @@
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:
@@ -58,14 +66,14 @@
servlet:
multipart:
# 鍗曚釜鏂囦欢澶у皬
- max-file-size: 10MB
+ max-file-size: 1GB
# 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
- max-request-size: 20MB
+ max-request-size: 2GB
# 鏈嶅姟妯″潡
devtools:
restart:
# 鐑儴缃插紑鍏�
- enabled: true
+ enabled: false
# redis 閰嶇疆
redis:
# 鍦板潃
@@ -75,7 +83,9 @@
# 鏁版嵁搴撶储寮�
database: 0
# 瀵嗙爜
-# password: root2022!
+ password:
+# password: 123456
+
# 杩炴帴瓒呮椂鏃堕棿
timeout: 10s
lettuce:
--
Gitblit v1.9.3