21 lines
440 B
Go
21 lines
440 B
Go
package dto
|
|
|
|
import "quyun/v2/app/requests"
|
|
|
|
type UploadResult struct {
|
|
ID string `json:"id"`
|
|
URL string `json:"url"`
|
|
Filename string `json:"filename"`
|
|
Size int64 `json:"size"`
|
|
MimeType string `json:"mime_type"`
|
|
}
|
|
|
|
type OptionsResponse struct {
|
|
ContentStatus []requests.KV `json:"content_status"`
|
|
ContentGenre []requests.KV `json:"content_genre"`
|
|
}
|
|
|
|
type UploadForm struct {
|
|
Type string `form:"type" json:"type"`
|
|
}
|