Commit b68e8a1e by 段启岩

文件上传限制

parent 7a2b3fd3
......@@ -50,7 +50,7 @@ public enum UploadType {
/**
* 上传CMS内容图片
*/
CMS_IMAGES(100, "cms/images/", SysConstants.DEFAULT_MAX_SIZE, SysConstants.SUFFIXES_OF_IMAGE),
CMS_IMAGES(100, "cms/images/", 1024 * 1024 * 10L, SysConstants.SUFFIXES_OF_IMAGE),
/**
......
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