You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
6.0 KiB

2 years ago
  1. /* ,使 */
  2. {
  3. /* */
  4. "imageActionName": "uploadimage", /* action */
  5. "imageFieldName": "upfile", /* */
  6. "imageMaxSize": 2048000, /* B */
  7. "imageAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* */
  8. "imageCompressEnable": true, /* ,true */
  9. "imageCompressBorder": 1600, /* */
  10. "imageInsertAlign": "none", /* */
  11. "imageUrlPrefix": "baseurl", /* 访 */
  12. "imagePathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  13. /* {filename} , */
  14. /* {rand:6} , */
  15. /* {time} */
  16. /* {yyyy} */
  17. /* {yy} */
  18. /* {mm} */
  19. /* {dd} */
  20. /* {hh} */
  21. /* {ii} */
  22. /* {ss} */
  23. /* \ : * ? " < > | */
  24. /* 线: fex.baidu.com/ueditor/#use-format_upload_filename */
  25. /* */
  26. "scrawlActionName": "uploadscrawl", /* action */
  27. "scrawlFieldName": "upfile", /* */
  28. "scrawlPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  29. "scrawlMaxSize": 2048000, /* B */
  30. "scrawlUrlPrefix": "baseurl", /* 访 */
  31. "scrawlInsertAlign": "none",
  32. /* */
  33. "snapscreenActionName": "uploadimage", /* action */
  34. "snapscreenPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  35. "snapscreenUrlPrefix": "baseurl", /* 访 */
  36. "snapscreenInsertAlign": "none", /* */
  37. /* */
  38. "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
  39. "catcherActionName": "catchimage", /* action */
  40. "catcherFieldName": "source", /* */
  41. "catcherPathFormat": "upload/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  42. "catcherUrlPrefix": "baseurl", /* 访 */
  43. "catcherMaxSize": 2048000, /* B */
  44. "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* */
  45. /* */
  46. "videoActionName": "uploadvideo", /* action */
  47. "videoFieldName": "upfile", /* */
  48. "videoPathFormat": "upload/video/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  49. "videoUrlPrefix": "baseurl", /* 访 */
  50. "videoMaxSize": 102400000, /* B100MB */
  51. "videoAllowFiles": [
  52. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  53. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid"], /* */
  54. /* */
  55. "fileActionName": "uploadfile", /* controller,action */
  56. "fileFieldName": "upfile", /* */
  57. "filePathFormat": "upload/file/{yyyy}{mm}{dd}/{time}{rand:6}", /* , */
  58. "fileUrlPrefix": "baseurl", /* 访 */
  59. "fileMaxSize": 51200000, /* B50MB */
  60. "fileAllowFiles": [
  61. ".png", ".jpg", ".jpeg", ".gif", ".bmp",
  62. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  63. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
  64. ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
  65. ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
  66. ], /* */
  67. /* */
  68. "imageManagerActionName": "listimage", /* action */
  69. "imageManagerListPath": "upload/image", /* */
  70. "imageManagerListSize": 20, /* */
  71. "imageManagerUrlPrefix": "baseurl", /* 访 */
  72. "imageManagerInsertAlign": "none", /* */
  73. "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* */
  74. /* */
  75. "fileManagerActionName": "listfile", /* action */
  76. "fileManagerListPath": "upload/file", /* */
  77. "fileManagerUrlPrefix": "baseurl", /* 访 */
  78. "fileManagerListSize": 20, /* */
  79. "fileManagerAllowFiles": [
  80. ".png", ".jpg", ".jpeg", ".gif", ".bmp",
  81. ".flv", ".swf", ".mkv", ".avi", ".rm", ".rmvb", ".mpeg", ".mpg",
  82. ".ogg", ".ogv", ".mov", ".wmv", ".mp4", ".webm", ".mp3", ".wav", ".mid",
  83. ".rar", ".zip", ".tar", ".gz", ".7z", ".bz2", ".cab", ".iso",
  84. ".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pptx", ".pdf", ".txt", ".md", ".xml"
  85. ] /* */
  86. }