阿里云OSS对接

1、配置阿里云OSS

2、Ueditor中文件,想要上传至OSS

#(1)Ueditor 开启OSS上传
dodo.io.uploader.ueditor.uploaderType=oss
#(2)Ueditor oss模式时的上传bucket,bucket来源【阿里云OSS集成配置】
dodo.io.uploader.ueditor.oss.bucket=my-bucket

3、POJO类中配置文件字段,想要上传至OSS

    // 配置 ossBucket
    @DodoField(name = "美照", sortSeq = 5, isFile = true, fileStyle = FileStyle.OnlyPath, ossBucket = "my-bucket")
    private String            photo;
Copyright © Dodo Framework 2019 all right reservedModify At: 2019-12-24 10:51:58