This commit is contained in:
xyc 2025-05-30 09:58:39 +08:00
parent b9da200501
commit 52c8e3d214
2 changed files with 9 additions and 9 deletions

View File

@ -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" +

View File

@ -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, /* B100MB */ "videoMaxSize": 10737418240, /* B100MB */
"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, /* B50MB */ "fileMaxSize": 10737418240, /* B50MB */
"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 */