chore: increase site image upload limit

This commit is contained in:
Frudrax Cheng
2026-06-04 10:34:16 +08:00
parent 93506639e3
commit bb987cad62
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -415,7 +415,7 @@ func (s *AftersalesService) UploadSiteImages(serialNumber string, files []*multi
cfg := config.GetAppConfig().OSS
maxFiles := cfg.MaxFiles
if maxFiles <= 0 {
maxFiles = 6
maxFiles = 18
}
maxFileSize := int64(cfg.MaxFileSizeMB)
if maxFileSize <= 0 {