mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-18 02:56:30 +08:00
commit:集成knife4j
This commit is contained in:
@@ -11,7 +11,7 @@ import org.springframework.context.annotation.Bean;
|
||||
* common-minio模块的自动配置引导类。仅当配置项minio.enabled为true的时候加载。
|
||||
*
|
||||
* @author Jerry
|
||||
* @date 2020-10-19
|
||||
* @date 2020-08-08
|
||||
*/
|
||||
@EnableConfigurationProperties(MinioProperties.class)
|
||||
@ConditionalOnProperty(prefix = "minio", name = "enabled")
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
* common-minio模块的配置类。
|
||||
*
|
||||
* @author Jerry
|
||||
* @date 2020-10-19
|
||||
* @date 2020-08-08
|
||||
*/
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "minio")
|
||||
|
||||
@@ -22,7 +22,7 @@ import java.util.Objects;
|
||||
* 基于Minio上传和下载文件操作的工具类。
|
||||
*
|
||||
* @author Jerry
|
||||
* @date 2020-10-19
|
||||
* @date 2020-08-08
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.io.InputStream;
|
||||
* 封装的minio客户端模板类。
|
||||
*
|
||||
* @author Jerry
|
||||
* @date 2020-10-19
|
||||
* @date 2020-08-08
|
||||
*/
|
||||
@Slf4j
|
||||
public class MinioTemplate {
|
||||
|
||||
Reference in New Issue
Block a user