修改文件上传配置文件
This commit is contained in:
parent
54f04bcde3
commit
191882376c
@ -1,8 +1,5 @@
|
||||
package ink.wgink.properties;
|
||||
|
||||
import ink.wgink.properties.FileMediaAppMaxDurationProperties;
|
||||
import ink.wgink.properties.FileMediaBackendMaxDurationProperties;
|
||||
|
||||
/**
|
||||
* When you feel like quitting. Think about why you started
|
||||
* 当你想要放弃的时候,想想当初你为何开始
|
||||
|
@ -12,7 +12,6 @@ public class FileMinIoProperties {
|
||||
private String endpoint;
|
||||
private String accessKey;
|
||||
private String secretKey;
|
||||
private Boolean secure;
|
||||
|
||||
public String getEndpoint() {
|
||||
return endpoint == null ? "" : endpoint.trim();
|
||||
@ -38,11 +37,4 @@ public class FileMinIoProperties {
|
||||
this.secretKey = secretKey;
|
||||
}
|
||||
|
||||
public Boolean getSecure() {
|
||||
return secure == null ? false : secure;
|
||||
}
|
||||
|
||||
public void setSecure(Boolean secure) {
|
||||
this.secure = secure;
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,6 @@ public class FileProperties {
|
||||
private String fileTypes;
|
||||
private Integer maxFileCount;
|
||||
private Double imageOutputQuality;
|
||||
private FileMediaMaxDurationProperties mediaMaxDuration;
|
||||
private Boolean useMinIo;
|
||||
private FileMinIoProperties minIo;
|
||||
|
||||
@ -81,14 +80,6 @@ public class FileProperties {
|
||||
this.imageOutputQuality = imageOutputQuality;
|
||||
}
|
||||
|
||||
public FileMediaMaxDurationProperties getMediaMaxDuration() {
|
||||
return mediaMaxDuration;
|
||||
}
|
||||
|
||||
public void setMediaMaxDuration(FileMediaMaxDurationProperties mediaMaxDuration) {
|
||||
this.mediaMaxDuration = mediaMaxDuration;
|
||||
}
|
||||
|
||||
public Boolean getUseMinIo() {
|
||||
return useMinIo == null ? false : useMinIo;
|
||||
}
|
||||
@ -122,8 +113,6 @@ public class FileProperties {
|
||||
.append(maxFileCount);
|
||||
sb.append(",\"imageOutputQuality\":")
|
||||
.append(imageOutputQuality);
|
||||
sb.append(",\"mediaMaxDuration\":")
|
||||
.append(mediaMaxDuration);
|
||||
sb.append(",\"useMinIo\":")
|
||||
.append(useMinIo);
|
||||
sb.append(",\"minIo\":")
|
||||
|
@ -19,6 +19,7 @@ public class WebSocketProperties {
|
||||
private Integer port;
|
||||
private String context;
|
||||
private Boolean isEncrypt;
|
||||
private String aesKey;
|
||||
|
||||
public String getScheme() {
|
||||
return scheme == null ? "ws" : scheme.trim();
|
||||
@ -59,4 +60,12 @@ public class WebSocketProperties {
|
||||
public void setEncrypt(Boolean encrypt) {
|
||||
isEncrypt = encrypt;
|
||||
}
|
||||
|
||||
public String getAesKey() {
|
||||
return aesKey == null ? "" : aesKey.trim();
|
||||
}
|
||||
|
||||
public void setAesKey(String aesKey) {
|
||||
this.aesKey = aesKey;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user