Commit 19e3b02d by suxiaochun

上传接口增加类型

parent 174d8847
...@@ -77,7 +77,7 @@ public class UploadUtils { ...@@ -77,7 +77,7 @@ public class UploadUtils {
return WHITELIST.contains(type); return WHITELIST.contains(type);
} }
public static List<String> WHITELIST = Arrays.asList(".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tiff", ".xls", ".xlsx", ".pdf"); public static List<String> WHITELIST = Arrays.asList(".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tiff", ".xls", ".xlsx", ".pdf", ".mp4");
/** /**
* 根据全路径名获取businessId * 根据全路径名获取businessId
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment