mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
桩固件信息表新增 “url”、“使用范围”字段
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user