| | |
| | | package com.ard.sample.config; |
| | | |
| | | import com.ard.common.config.OssConfiguration; |
| | | import com.ard.oss.model.enums.OssTypeEnum; |
| | | import io.minio.MinioClient; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | @Component |
| | |
| | | public class DockConfiguration { |
| | | public static String endpoint; |
| | | |
| | | public static String bucket; |
| | | |
| | | public void setEndpoint(String endpoint) { |
| | | DockConfiguration.endpoint = endpoint; |
| | | } |
| | | |
| | | public void setBucket(String bucket) { |
| | | DockConfiguration.bucket = bucket; |
| | | } |
| | | |
| | | } |