Update OssPolicyResult.java
This commit is contained in:
parent
98dc8a31ba
commit
b38d88b6cd
@ -1,11 +1,15 @@
|
|||||||
package com.macro.mall.dto;
|
package com.macro.mall.dto;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取OSS上传文件授权返回结果
|
* 获取OSS上传文件授权返回结果
|
||||||
* Created by macro on 2018/5/17.
|
* Created by macro on 2018/5/17.
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
public class OssPolicyResult {
|
public class OssPolicyResult {
|
||||||
@ApiModelProperty("访问身份验证中用到用户标识")
|
@ApiModelProperty("访问身份验证中用到用户标识")
|
||||||
private String accessKeyId;
|
private String accessKeyId;
|
||||||
@ -19,52 +23,4 @@ public class OssPolicyResult {
|
|||||||
private String host;
|
private String host;
|
||||||
@ApiModelProperty("上传成功后的回调设置")
|
@ApiModelProperty("上传成功后的回调设置")
|
||||||
private String callback;
|
private String callback;
|
||||||
|
|
||||||
public String getAccessKeyId() {
|
|
||||||
return accessKeyId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAccessKeyId(String accessKeyId) {
|
|
||||||
this.accessKeyId = accessKeyId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPolicy() {
|
|
||||||
return policy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPolicy(String policy) {
|
|
||||||
this.policy = policy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getSignature() {
|
|
||||||
return signature;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSignature(String signature) {
|
|
||||||
this.signature = signature;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getDir() {
|
|
||||||
return dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDir(String dir) {
|
|
||||||
this.dir = dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getHost() {
|
|
||||||
return host;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setHost(String host) {
|
|
||||||
this.host = host;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getCallback() {
|
|
||||||
return callback;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCallback(String callback) {
|
|
||||||
this.callback = callback;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user