Browse Source

新增 wps 文档预览支持

pull/23/head
kl 4 years ago
parent
commit
56cdeffaa9
  1. 2
      server/src/main/java/cn/keking/model/FileType.java

2
server/src/main/java/cn/keking/model/FileType.java

@ -26,7 +26,7 @@ public enum FileType {
TIFF("tiffFilePreviewImpl");
private static final String[] OFFICE_TYPES = {"docx", "doc", "xls", "xlsx", "ppt", "pptx"};
private static final String[] OFFICE_TYPES = {"docx", "wps", "doc", "xls", "xlsx", "ppt", "pptx"};
private static final String[] PICTURE_TYPES = {"jpg", "jpeg", "png", "gif", "bmp", "ico", "raw"};
private static final String[] ARCHIVE_TYPES = {"rar", "zip", "jar", "7-zip", "tar", "gzip", "7z"};
private static final String[] TIFF_TYPES = {"tif", "tiff"};

Loading…
Cancel
Save