refactor(system/file): 优化文件相关代码

This commit is contained in:
2025-03-13 21:13:38 +08:00
parent 27cf46409a
commit 74c4270323
6 changed files with 46 additions and 60 deletions

View File

@@ -263,8 +263,11 @@ spring.servlet:
max-file-size: 10MB
# 单次总上传文件大小限制
max-request-size: 20MB
## 头像支持格式配置
## 头像配置
avatar:
# 存储路径
path: user/avatar/
# 支持的后缀
support-suffix: jpg,jpeg,png,gif
--- ### Snail Job 配置

View File

@@ -260,8 +260,11 @@ spring.servlet:
max-file-size: 10MB
# 单次总上传文件大小限制
max-request-size: 20MB
## 头像支持格式配置
## 头像配置
avatar:
# 存储路径
path: user/avatar/
# 支持的后缀
support-suffix: jpg,jpeg,png,gif
--- ### Snail Job 配置