mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-11-07 02:57:13 +08:00
refactor: 优化部分代码
修复 Sonar、Codacy 扫描问题
This commit is contained in:
@@ -255,4 +255,11 @@ spring.servlet:
|
||||
# 单文件上传大小限制
|
||||
max-file-size: 10MB
|
||||
# 单次总上传文件大小限制
|
||||
max-request-size: 20MB
|
||||
max-request-size: 20MB
|
||||
## 头像支持格式配置
|
||||
avatar:
|
||||
support-suffix:
|
||||
- jpg
|
||||
- jpeg
|
||||
- png
|
||||
- gif
|
||||
|
||||
@@ -255,4 +255,11 @@ spring.servlet:
|
||||
# 单文件上传大小限制
|
||||
max-file-size: 10MB
|
||||
# 单次总上传文件大小限制
|
||||
max-request-size: 20MB
|
||||
max-request-size: 20MB
|
||||
## 头像支持格式配置
|
||||
avatar:
|
||||
support-suffix:
|
||||
- jpg
|
||||
- jpeg
|
||||
- png
|
||||
- gif
|
||||
|
||||
Reference in New Issue
Block a user