update 使用 策略+工厂 重写OSS模块

This commit is contained in:
疯狂的狮子li
2021-07-18 18:20:21 +08:00
parent d642c08c2e
commit 089e288a6e
26 changed files with 602 additions and 474 deletions

View File

@@ -0,0 +1,45 @@
package com.ruoyi.oss.properties;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* 腾讯云COS 配置属性
*
* @author Lion Li
*/
@Data
@NoArgsConstructor
public class QcloudProperties {
/**
* 腾讯云绑定的域名
*/
private String domain;
/**
* 腾讯云路径前缀
*/
private String prefix;
/**
* 腾讯云SecretId
*/
private String secretId;
/**
* 腾讯云SecretKey
*/
private String secretKey;
/**
* 腾讯云BucketName
*/
private String bucketName;
/**
* 腾讯云COS所属地区
*/
private String region;
}