fix: kyc return relative directory
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user