质量优化

This commit is contained in:
ryan
2026-06-09 20:28:05 +08:00
parent 50f39a6983
commit 673061265c
10 changed files with 605 additions and 529 deletions
-7
View File
@@ -48,13 +48,6 @@ import (
"gorm.io/gorm"
)
const (
maxUploadSize = 32 * 1024 * 1024 // 32MB
detectContentBytes = 512 // http.DetectContentType 需要的最小字节数
uploadDirPerm = 0755 // 上传目录权限
uploadFilePerm = 0644 // 上传文件权限
)
type batchDownloadRequest struct {
IDs []string `json:"ids" binding:"required,min=1"`
}