chore: increase site image upload limit
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -292,7 +292,7 @@ func (s *ProjectOrdersService) UploadSiteImages(serialNumber string, files []*mu
|
||||
cfg := config.GetAppConfig().OSS
|
||||
maxFiles := cfg.MaxFiles
|
||||
if maxFiles <= 0 {
|
||||
maxFiles = 6
|
||||
maxFiles = 18
|
||||
}
|
||||
maxFileSize := int64(cfg.MaxFileSizeMB)
|
||||
if maxFileSize <= 0 {
|
||||
|
||||
Reference in New Issue
Block a user