Skip to content

Commit

Permalink
relevance
Browse files Browse the repository at this point in the history
  • Loading branch information
3xxx committed Jan 7, 2018
1 parent 2de20aa commit e5728f2
Show file tree
Hide file tree
Showing 51 changed files with 3,423 additions and 1,115 deletions.
5 changes: 3 additions & 2 deletions conf/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/* 上传图片配置项 */
"imageActionName": "uploadimage", /* 执行上传图片的action名称 */
"imageFieldName": "upfile", /* upfile提交的图片表单名称 */
"imageMaxSize": 2048000, /* 上传大小限制,单位B */
"imageMaxSize": 20480000, /* 上传大小限制,单位B */
"imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 上传图片格式显示 */
"imageCompressEnable": true, /* 是否压缩图片,默认是true */
"imageCompressBorder": 800, /* 图片压缩最长边限制 */
Expand Down Expand Up @@ -68,7 +68,8 @@
".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml",
".dwg",".dgn"
], /* 上传文件格式显示 */

/* 列出指定目录下的图片 */
Expand Down
Loading

0 comments on commit e5728f2

Please sign in to comment.