cn.minsin.aliyun.oss.config.MutilsAliyunOssAutoConfigure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mutils-aliyun-oss Show documentation
Show all versions of mutils-aliyun-oss Show documentation
mutils组件中提供阿里云对象储存(OSS)等操作,该组件不可单独引用至maven依赖。详情请查看AliyunOssUploadFunctions、AliyunOssDownloadFunctions、AliyunOssManageFunctions
官方文档:https://help.aliyun.com/document_detail/32008.html
package cn.minsin.aliyun.oss.config;
import cn.minsin.core.init.AbstractConfig;
import lombok.Getter;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @author: minton.zhang
* @since: 2019/10/9 15:57
*/
@Configuration
@EnableConfigurationProperties(MutilsAliyunOssProperties.class)
public class MutilsAliyunOssAutoConfigure {
@Getter
private final MutilsAliyunOssProperties properties;
MutilsAliyunOssAutoConfigure(MutilsAliyunOssProperties properties) {
super();
this.properties = properties;
AbstractConfig.init(MutilsAliyunOssProperties.class, properties);
}
}