From 333033a600ac76eb5c310df4b0cd772023eb3b9d Mon Sep 17 00:00:00 2001 From: zhuoran <9362019+zhuoran007@user.noreply.gitee.com> Date: Tue, 18 Jan 2022 01:40:30 +0000 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A2=9E=E5=8A=A0minio=E5=AF=B9?= =?UTF-8?q?=E8=B1=A1=E5=AD=98=E5=82=A8=E6=94=AF=E6=8C=81=201=E3=80=81?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0minio=E5=AF=B9=E8=B1=A1=E5=AD=98=E5=82=A8?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/wps/propertie/MinioProperties.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/main/java/com/web/wps/propertie/MinioProperties.java diff --git a/src/main/java/com/web/wps/propertie/MinioProperties.java b/src/main/java/com/web/wps/propertie/MinioProperties.java new file mode 100644 index 0000000..9372f57 --- /dev/null +++ b/src/main/java/com/web/wps/propertie/MinioProperties.java @@ -0,0 +1,20 @@ +package com.web.wps.propertie; + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.stereotype.Component; + +@Data +@Component +@ConfigurationProperties(prefix = "minio") +public class MinioProperties { + + private String fileUrlPrefix; + private String bucketName; + private String diskName; + private String regionId; + private String endpoint; + private String accessKey; + private String accessSecret; + +} -- Gitee