桩固件信息表新增 “url”、“使用范围”字段

This commit is contained in:
Lemon
2024-11-20 16:51:59 +08:00
parent c52e8137f8
commit 95f4efcdd0
8 changed files with 79 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
package com.jsowell.common.config;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
@@ -31,6 +32,11 @@ public class AliyunOssConfig {
*/
private String filehost;
/**
* 蓝牙小程序文件路径
*/
private String bluetoothFileHost;
/**
* 访问域名
*/
@@ -76,6 +82,14 @@ public class AliyunOssConfig {
this.filehost = filehost;
}
public String getBluetoothFileHost() {
return bluetoothFileHost;
}
public void setBluetoothFileHost(String bluetoothFileHost) {
this.bluetoothFileHost = bluetoothFileHost;
}
public String getUrl() {
return url;
}
@@ -86,13 +100,14 @@ public class AliyunOssConfig {
@Override
public String toString() {
return "AliyunOssConfig{" +
"endpoint='" + endpoint + '\'' +
", accessKeyId='" + accessKeyId + '\'' +
", accessKeySecret='" + accessKeySecret + '\'' +
", bucketName='" + bucketName + '\'' +
", filehost='" + filehost + '\'' +
", url='" + url + '\'' +
'}';
return new ToStringBuilder(this)
.append("endpoint", endpoint)
.append("accessKeyId", accessKeyId)
.append("accessKeySecret", accessKeySecret)
.append("bucketName", bucketName)
.append("filehost", filehost)
.append("bluetoothFileHost", bluetoothFileHost)
.append("url", url)
.toString();
}
}