test: search file with limited parent ids

This commit is contained in:
HFO4
2022-04-30 10:02:57 +08:00
parent a31ac2299a
commit 0e5683bc3b
5 changed files with 33 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ type PolicyOption struct {
PlaceholderWithSize bool `json:"placeholder_with_size,omitempty"`
}
// thumbSuffix 支持缩略图处理的文件扩展名
var thumbSuffix = map[string][]string{
"local": {},
"qiniu": {".psd", ".jpg", ".jpeg", ".png", ".gif", ".webp", ".tiff", ".bmp"},