fix: 修改默认支持上传的文件类型

main
hong.yang 1 year ago
parent c9e88e2f7a
commit d4b192ac27

@ -22,22 +22,12 @@ public class FileConfig {
* *
*/ */
private Set<String> allowedFileExtensionName = Sets.newHashSet( private Set<String> allowedFileExtensionName = Sets.newHashSet(
"txt", "jpg", "jpeg", "png", "gif", "bmp", "svg", "webp", "ico",
"pdf", "xls", "xlsx", "csv",
"xls", "ppt", "pptx",
"xlsx", "doc", "docx",
"csv", "txt", "pdf",
"doc", "mp4", "mov", "mp3",
"docx", "rar", "zip"
"png",
"jpg",
"gif",
"mp4",
"mov",
"mp3",
"rar",
"zip",
"ppt",
"svg"
); );
} }

Loading…
Cancel
Save