图片压缩调用缓存

This commit is contained in:
ryan
2026-06-11 15:23:15 +08:00
parent 0221d4de14
commit ad97ca7df1
4 changed files with 57 additions and 31 deletions
-2
View File
@@ -8,6 +8,4 @@ const (
detectContentBytes = 512 // http.DetectContentType 需要的最小字节数
uploadDirPerm = 0755 // 上传目录权限
uploadFilePerm = 0644 // 上传文件权限
cacheDirPerm = 0750 // 缓存目录权限 (gosec)
cacheFilePerm = 0600 // 缓存文件权限 (gosec)
)