50 lines
857 B
Java
50 lines
857 B
Java
package com.example.caseData.dto.publicDto;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class GetOssSignDto {
|
|
/**
|
|
* 临时访问密钥 ID
|
|
*/
|
|
@JsonProperty("access_id")
|
|
private String accessId;
|
|
|
|
/**
|
|
* 上传目标地址 Host
|
|
*/
|
|
@JsonProperty("host")
|
|
private String host;
|
|
|
|
/**
|
|
* 策略 Policy
|
|
*/
|
|
@JsonProperty("policy")
|
|
private String policy;
|
|
|
|
/**
|
|
* 签名结果
|
|
*/
|
|
@JsonProperty("signature")
|
|
private String signature;
|
|
|
|
/**
|
|
* 签名过期时间(秒级时间戳)
|
|
*/
|
|
@JsonProperty("expire")
|
|
private Long expire;
|
|
|
|
/**
|
|
* 回调配置
|
|
*/
|
|
@JsonProperty("callback")
|
|
private String callback;
|
|
|
|
/**
|
|
* 上传目录路径
|
|
*/
|
|
@JsonProperty("dir")
|
|
private String dir;
|
|
}
|