Feat: create upload session and pre-upload check
This commit is contained in:
@@ -18,6 +18,8 @@ type UploadPolicy struct {
|
||||
|
||||
// UploadCredential 返回给客户端的上传凭证
|
||||
type UploadCredential struct {
|
||||
SessionID string `json:"sessionID"`
|
||||
|
||||
Token string `json:"token"`
|
||||
Policy string `json:"policy"`
|
||||
Path string `json:"path"` // 存储路径
|
||||
|
||||
Reference in New Issue
Block a user