2
0

fix: kyc return relative directory

This commit is contained in:
zhangsz
2025-01-17 17:08:01 +08:00
parent 7df3b8d643
commit bbb9542433
3 changed files with 24 additions and 26 deletions

View File

@@ -16,9 +16,9 @@ public class SysFile
private String name;
/**
* 文件内部地址
* 文件相对地址
*/
private String uri;
private String url;
/**
* 文件内部地址
@@ -26,9 +26,9 @@ public class SysFile
private String localUrl;
/**
* 文件地址
* 文件gateway地址
*/
private String url;
private String gatewayUrl;
public String getName()
{
@@ -40,12 +40,12 @@ public class SysFile
this.name = name;
}
public String getUri() {
return uri;
public String getUrl() {
return url;
}
public void setUri(String uri) {
this.uri = uri;
public void setUrl(String url) {
this.url = url;
}
public String getLocalUrl() {
@@ -56,23 +56,21 @@ public class SysFile
this.localUrl = localUrl;
}
public String getUrl()
{
return url;
public String getGatewayUrl() {
return gatewayUrl;
}
public void setUrl(String url)
{
this.url = url;
public void setGatewayUrl(String gatewayUrl) {
this.gatewayUrl = gatewayUrl;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("name", getName())
.append("uri", getUri())
.append("localUrl", getLocalUrl())
.append("url", getUrl())
.append("localUrl", getLocalUrl())
.append("gatewayUrl", getGatewayUrl())
.toString();
}
}