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.

93 lines
6.0 KiB

8 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": "", /* 访 */
  12. "imagePathFormat": "/uploads/{yyyy}/{mm}/{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:4}", /* , */
  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": "/uploads/{yyyy}/{mm}/{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:4}", /* , */
  29. "scrawlMaxSize": 2048000, /* B */
  30. "scrawlUrlPrefix": "", /* 访 */
  31. "scrawlInsertAlign": "none",
  32. /* */
  33. "snapscreenActionName": "uploadimage", /* action */
  34. "snapscreenPathFormat": "/uploads/{yyyy}/{mm}/{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:4}", /* , */
  35. "snapscreenUrlPrefix": "", /* 访 */
  36. "snapscreenInsertAlign": "none", /* */
  37. /* */
  38. "catcherLocalDomain": ["127.0.0.1", "localhost", "img.baidu.com"],
  39. "catcherActionName": "catchimage", /* action */
  40. "catcherFieldName": "source", /* */
  41. "catcherPathFormat": "/uploads/{yyyy}/{mm}/{yyyy}{mm}{dd}{hh}{ii}{ss}{rand:4}", /* , */
  42. "catcherUrlPrefix": "", /* 访 */
  43. "catcherMaxSize": 2048000, /* B */
  44. "catcherAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* */
  45. /* */
  46. "videoActionName": "uploadvideo", /* action */
  47. "videoFieldName": "upfile", /* */
  48. "videoPathFormat": "/uploads/video/{yyyy}/{time}{rand:6}", /* , */
  49. "videoUrlPrefix": "", /* 访 */
  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": "/uploads/file/{yyyy}/{time}{rand:6}", /* , */
  58. "fileUrlPrefix": "", /* 访 */
  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": "/uploads/", /* */
  70. "imageManagerListSize": 20, /* */
  71. "imageManagerUrlPrefix": "", /* 访 */
  72. "imageManagerInsertAlign": "none", /* */
  73. "imageManagerAllowFiles": [".png", ".jpg", ".jpeg", ".gif", ".bmp"], /* */
  74. /* */
  75. "fileManagerActionName": "listfile", /* action */
  76. "fileManagerListPath": "/uploads/file/", /* */
  77. "fileManagerUrlPrefix": "", /* 访 */
  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. }