From 8267d62b7d89e101669e20e66d6b94420fb82c85 Mon Sep 17 00:00:00 2001
From: ludc <ludc@vci-tech.com>
Date: 星期四, 26 十二月 2024 17:26:54 +0800
Subject: [PATCH] 方法重名修改
---
Source/BladeX-Tool/blade-starter-oss/src/main/java/org/springblade/core/oss/props/OssProperties.java | 82 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 82 insertions(+), 0 deletions(-)
diff --git a/Source/BladeX-Tool/blade-starter-oss/src/main/java/org/springblade/core/oss/props/OssProperties.java b/Source/BladeX-Tool/blade-starter-oss/src/main/java/org/springblade/core/oss/props/OssProperties.java
new file mode 100644
index 0000000..8e29e81
--- /dev/null
+++ b/Source/BladeX-Tool/blade-starter-oss/src/main/java/org/springblade/core/oss/props/OssProperties.java
@@ -0,0 +1,82 @@
+/*
+ * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the dreamlu.net developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: Chill 搴勯獮 (smallchill@163.com)
+ */
+package org.springblade.core.oss.props;
+
+import lombok.Data;
+import org.springblade.core.tool.support.Kv;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+
+/**
+ * Minio鍙傛暟閰嶇疆绫�
+ *
+ * @author Chill
+ */
+@Data
+@ConfigurationProperties(prefix = "oss")
+public class OssProperties {
+
+ /**
+ * 鏄惁鍚敤
+ */
+ private Boolean enabled;
+
+ /**
+ * 瀵硅薄瀛樺偍鍚嶇О
+ */
+ private String name;
+
+ /**
+ * 鏄惁寮�鍚鎴锋ā寮�
+ */
+ private Boolean tenantMode = false;
+
+ /**
+ * 瀵硅薄瀛樺偍鏈嶅姟鐨刄RL
+ */
+ private String endpoint;
+
+ /**
+ * 搴旂敤ID TencentCOS闇�瑕�
+ */
+ private String appId;
+
+ /**
+ * 鍖哄煙绠�绉� TencentCOS闇�瑕�
+ */
+ private String region;
+
+ /**
+ * Access key灏卞儚鐢ㄦ埛ID锛屽彲浠ュ敮涓�鏍囪瘑浣犵殑璐︽埛
+ */
+ private String accessKey;
+
+ /**
+ * Secret key鏄綘璐︽埛鐨勫瘑鐮�
+ */
+ private String secretKey;
+
+ /**
+ * 榛樿鐨勫瓨鍌ㄦ《鍚嶇О
+ */
+ private String bucketName = "bladex";
+
+ /**
+ * 鑷畾涔夊睘鎬�
+ */
+ private Kv args;
+
+}
--
Gitblit v1.9.3