mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 02:08:15 +08:00
update 使用@Getter注解优化代码
This commit is contained in:
parent
3527e04bea
commit
0e84332af9
@ -2,6 +2,7 @@ package org.dromara.common.oss.core;
|
||||
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import lombok.Getter;
|
||||
import org.dromara.common.core.constant.Constants;
|
||||
import org.dromara.common.core.utils.DateUtils;
|
||||
import org.dromara.common.core.utils.StringUtils;
|
||||
@ -46,7 +47,11 @@ public class OssClient {
|
||||
|
||||
/**
|
||||
* 服务商
|
||||
* -- GETTER --
|
||||
* 服务商
|
||||
|
||||
*/
|
||||
@Getter
|
||||
private final String configKey;
|
||||
|
||||
/**
|
||||
@ -485,13 +490,6 @@ public class OssClient {
|
||||
return path.replace(getUrl() + StringUtils.SLASH, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* 服务商
|
||||
*/
|
||||
public String getConfigKey() {
|
||||
return configKey;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取是否使用 HTTPS 的配置,并返回相应的协议头部。
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user