refactor: 重构文件管理模块

This commit is contained in:
2025-06-12 22:21:27 +08:00
parent 31c67e8a11
commit 7ce83bb52f
24 changed files with 48 additions and 132 deletions

View File

@@ -4,3 +4,7 @@ spring:
url: jdbc:mysql://127.0.0.1:3306/sweet_hut?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: cxx
password: 123456
file:
path: D:\\temp\\
log-path: D:\\temp\\

View File

@@ -4,3 +4,6 @@ spring:
url: jdbc:mysql://mysql:3306/sweet_hut?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: docker
password: 19940822Cxx
file:
path: /upload-file/

View File

@@ -3,4 +3,8 @@ spring:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/sweet_hut?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: cxx
password: 19940822Cxx@1213
password: 19940822Cxx@1213
file:
path: /root/docker/upload-file/
log-path: /root/service/logs/