更新
This commit is contained in:
parent
b9da200501
commit
52c8e3d214
@ -32,7 +32,7 @@ public class UeditorController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ICmsCategoryService categoryService;
|
private ICmsCategoryService categoryService;
|
||||||
private static String configJson = "{\n" +
|
private static String configJson = "{\n" +
|
||||||
" \"videoMaxSize\": 102400000,\n" +
|
" \"videoMaxSize\": 10737418240,\n" +
|
||||||
" \"videoActionName\": \"uploadvideo\",\n" +
|
" \"videoActionName\": \"uploadvideo\",\n" +
|
||||||
" \"fileActionName\": \"uploadfile\",\n" +
|
" \"fileActionName\": \"uploadfile\",\n" +
|
||||||
" \"fileManagerListPath\": \"file/\",\n" +
|
" \"fileManagerListPath\": \"file/\",\n" +
|
||||||
@ -45,7 +45,7 @@ public class UeditorController {
|
|||||||
" \".bmp\"\n" +
|
" \".bmp\"\n" +
|
||||||
" ],\n" +
|
" ],\n" +
|
||||||
" \"imageManagerListPath\": \"image/\",\n" +
|
" \"imageManagerListPath\": \"image/\",\n" +
|
||||||
" \"fileMaxSize\": 51200000,\n" +
|
" \"fileMaxSize\": 10737418240,\n" +
|
||||||
" \"fileManagerAllowFiles\": [\n" +
|
" \"fileManagerAllowFiles\": [\n" +
|
||||||
" \".png\",\n" +
|
" \".png\",\n" +
|
||||||
" \".jpg\",\n" +
|
" \".jpg\",\n" +
|
||||||
@ -108,13 +108,13 @@ public class UeditorController {
|
|||||||
" \"scrawlMaxSize\": 104857600,\n" +
|
" \"scrawlMaxSize\": 104857600,\n" +
|
||||||
" \"imageInsertAlign\": \"none\",\n" +
|
" \"imageInsertAlign\": \"none\",\n" +
|
||||||
" \"catcherPathFormat\": \"image/{yyyy}{mm}{dd}/{time}{rand:6}\",\n" +
|
" \"catcherPathFormat\": \"image/{yyyy}{mm}{dd}/{time}{rand:6}\",\n" +
|
||||||
" \"catcherMaxSize\": 104857600,\n" +
|
" \"catcherMaxSize\": 10737418240,\n" +
|
||||||
" \"snapscreenUrlPrefix\": \"\",\n" +
|
" \"snapscreenUrlPrefix\": \"\",\n" +
|
||||||
" \"imagePathFormat\": \"image/{yyyy}{mm}{dd}/{time}{rand:6}\",\n" +
|
" \"imagePathFormat\": \"image/{yyyy}{mm}{dd}/{time}{rand:6}\",\n" +
|
||||||
" \"imageManagerUrlPrefix\": \"https://meevexp.oberyun.com/hgdWebsite\",\n" +
|
" \"imageManagerUrlPrefix\": \"https://meevexp.oberyun.com/hgdWebsite\",\n" +
|
||||||
" \"scrawlUrlPrefix\": \"\",\n" +
|
" \"scrawlUrlPrefix\": \"\",\n" +
|
||||||
" \"scrawlFieldName\": \"upfile\",\n" +
|
" \"scrawlFieldName\": \"upfile\",\n" +
|
||||||
" \"imageMaxSize\": 104857600,\n" +
|
" \"imageMaxSize\": 10737418240,\n" +
|
||||||
" \"imageAllowFiles\": [\n" +
|
" \"imageAllowFiles\": [\n" +
|
||||||
" \".png\",\n" +
|
" \".png\",\n" +
|
||||||
" \".jpg\",\n" +
|
" \".jpg\",\n" +
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/* 上传图片配置项 */
|
/* 上传图片配置项 */
|
||||||
"imageActionName": "uploadimage", /* 执行上传图片的action名称 */
|
"imageActionName": "uploadimage", /* 执行上传图片的action名称 */
|
||||||
"imageFieldName": "upfile", /* 提交的图片表单名称 */
|
"imageFieldName": "upfile", /* 提交的图片表单名称 */
|
||||||
"imageMaxSize": 104857600, /* 上传大小限制,单位B */
|
"imageMaxSize": 10737418240, /* 上传大小限制,单位B */
|
||||||
"imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp", '.webp'], /* 上传图片格式显示 */
|
"imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp", '.webp'], /* 上传图片格式显示 */
|
||||||
"imageCompressEnable": true, /* 是否压缩图片,默认是true */
|
"imageCompressEnable": true, /* 是否压缩图片,默认是true */
|
||||||
"imageCompressBorder": 1600, /* 图片压缩最长边限制 */
|
"imageCompressBorder": 1600, /* 图片压缩最长边限制 */
|
||||||
@ -24,7 +24,7 @@
|
|||||||
"scrawlActionName": "uploadscrawl", /* 执行上传涂鸦的action名称 */
|
"scrawlActionName": "uploadscrawl", /* 执行上传涂鸦的action名称 */
|
||||||
"scrawlFieldName": "upfile", /* 提交的图片表单名称 */
|
"scrawlFieldName": "upfile", /* 提交的图片表单名称 */
|
||||||
"scrawlPathFormat": "image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
"scrawlPathFormat": "image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
||||||
"scrawlMaxSize": 104857600, /* 上传大小限制,单位B */
|
"scrawlMaxSize": 10737418240, /* 上传大小限制,单位B */
|
||||||
"scrawlUrlPrefix": "", /* 图片访问路径前缀 */
|
"scrawlUrlPrefix": "", /* 图片访问路径前缀 */
|
||||||
"scrawlInsertAlign": "none", /* 截图工具上传 */
|
"scrawlInsertAlign": "none", /* 截图工具上传 */
|
||||||
"snapscreenActionName": "uploadimage", /* 执行上传截图的action名称 */
|
"snapscreenActionName": "uploadimage", /* 执行上传截图的action名称 */
|
||||||
@ -37,21 +37,21 @@
|
|||||||
"catcherFieldName": "source", /* 提交的图片列表表单名称 */
|
"catcherFieldName": "source", /* 提交的图片列表表单名称 */
|
||||||
"catcherPathFormat": "image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
"catcherPathFormat": "image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
||||||
"catcherUrlPrefix": "", /* 图片访问路径前缀 */
|
"catcherUrlPrefix": "", /* 图片访问路径前缀 */
|
||||||
"catcherMaxSize": 104857600, /* 上传大小限制,单位B */
|
"catcherMaxSize": 10737418240, /* 上传大小限制,单位B */
|
||||||
"catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 抓取图片格式显示 */
|
"catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* 抓取图片格式显示 */
|
||||||
/* 上传视频配置 */
|
/* 上传视频配置 */
|
||||||
"videoActionName": "uploadvideo", /* 执行上传视频的action名称 */
|
"videoActionName": "uploadvideo", /* 执行上传视频的action名称 */
|
||||||
"videoFieldName": "upfile", /* 提交的视频表单名称 */
|
"videoFieldName": "upfile", /* 提交的视频表单名称 */
|
||||||
"videoPathFormat": "video/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
"videoPathFormat": "video/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
||||||
"videoUrlPrefix": "https://meevexp.oberyun.com/hgdWebsite", /* 视频访问路径前缀 */
|
"videoUrlPrefix": "https://meevexp.oberyun.com/hgdWebsite", /* 视频访问路径前缀 */
|
||||||
"videoMaxSize": 102400000, /* 上传大小限制,单位B,默认100MB */
|
"videoMaxSize": 10737418240, /* 上传大小限制,单位B,默认100MB */
|
||||||
"videoAllowFiles": [ ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg", ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* 上传视频格式显示 */
|
"videoAllowFiles": [ ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg", ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* 上传视频格式显示 */
|
||||||
/* 上传文件配置 */
|
/* 上传文件配置 */
|
||||||
"fileActionName": "uploadfile", /* controller里,执行上传视频的action名称 */
|
"fileActionName": "uploadfile", /* controller里,执行上传视频的action名称 */
|
||||||
"fileFieldName": "upfile", /* 提交的文件表单名称 */
|
"fileFieldName": "upfile", /* 提交的文件表单名称 */
|
||||||
"filePathFormat": "file/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
"filePathFormat": "file/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
|
||||||
"fileUrlPrefix": "https://meevexp.oberyun.com/hgdWebsite", /* 文件访问路径前缀 */
|
"fileUrlPrefix": "https://meevexp.oberyun.com/hgdWebsite", /* 文件访问路径前缀 */
|
||||||
"fileMaxSize": 51200000, /* 上传大小限制,单位B,默认50MB */
|
"fileMaxSize": 10737418240, /* 上传大小限制,单位B,默认50MB */
|
||||||
"fileAllowFiles": [ ".png", ".jpg", ".jpeg", ".gif", ".bmp", ".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" ], /* 上传文件格式显示 */
|
"fileAllowFiles": [ ".png", ".jpg", ".jpeg", ".gif", ".bmp", ".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" ], /* 上传文件格式显示 */
|
||||||
/* 列出指定目录下的图片 */
|
/* 列出指定目录下的图片 */
|
||||||
"imageManagerActionName": "listimage", /* 执行图片管理的action名称 */
|
"imageManagerActionName": "listimage", /* 执行图片管理的action名称 */
|
||||||
|
Loading…
Reference in New Issue
Block a user