feat: upload
This commit is contained in:
@@ -6,16 +6,3 @@ type UploadReq struct {
|
||||
TotalChunks int `form:"total_chunks"`
|
||||
FileMD5 string `form:"file_md5"`
|
||||
}
|
||||
|
||||
type UploadResp struct {
|
||||
Files []UploadFile `json:"files"`
|
||||
}
|
||||
|
||||
type UploadFile struct {
|
||||
HashID string `json:"hash_id"`
|
||||
Name string `json:"name"`
|
||||
Size int64 `json:"size"`
|
||||
MimeType string `json:"type"`
|
||||
Path string `json:"path"`
|
||||
Preview string `json:"preview"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user