935090232@qq.com
2022-03-05 e2e3a5df786738c2c9620d921aa0f209a9eff21a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.matrix.component.ueditor;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
@Data
@Component
@ConfigurationProperties(prefix = "ueditor")
public class UeditorProperties {
 
    /**
     * 图片访问路径前缀
     */
    private String imageUrlPrefix;
    /* 上传保存路径,可以自定义保存路径和文件名格式 */
    /* {filename} 会替换成原文件名,配置这项需要注意中文乱码问题 */
    /* {rand:6} 会替换成随机数,后面的数字是随机数的位数 */
    /* {time} 会替换成时间戳 */
    /* {yyyy} 会替换成四位年份 */
    /* {yy} 会替换成两位年份 */
    /* {mm} 会替换成两位月份 */
    /* {dd} 会替换成两位日期 */
    /* {hh} 会替换成两位小时 */
    /* {ii} 会替换成两位分钟 */
    /* {ss} 会替换成两位秒 */
    /* 非法字符 \ : * ? " < > | */
    /* 具请体看线上文档: fex.baidu.com/ueditor/#use-format_upload_filename */
    private String imagePathFormat;
 
 
 
 
    /* 涂鸦图片上传配置项 */
    private String scrawlPathFormat;
    private String scrawlUrlPrefix;
 
    /* 截图工具上传 */
    private String snapscreenPathFormat;
    private String snapscreenUrlPrefix;
 
    /* 抓取远程图片配置 */
    private String catcherPathFormat;
    private String catcherUrlPrefix;
 
    /* 上传视频配置 */
    private String videoPathFormat;
    private String videoUrlPrefix;
 
    /* 上传文件配置 */
    private String filePathFormat;
    private String fileUrlPrefix;
 
    /* 列出指定目录下的图片 */
    private String imageManagerListPath;
    /* 列出指定目录下的文件 */
    private String fileManagerListPath;
 
 
 
 
 
 
}