All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.minsin.aliyun.oss.config.MutilsAliyunOssAutoConfigure Maven / Gradle / Ivy

Go to download

mutils组件中提供阿里云对象储存(OSS)等操作,该组件不可单独引用至maven依赖。详情请查看AliyunOssUploadFunctions、AliyunOssDownloadFunctions、AliyunOssManageFunctions 官方文档:https://help.aliyun.com/document_detail/32008.html

There is a newer version: 0.4.0.RELEASE
Show newest version
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);
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy