下载链接有效期延长到四小时

This commit is contained in:
122cygf
2021-02-26 12:37:44 +08:00
parent e146054679
commit 46f09836f3
3 changed files with 32 additions and 4 deletions

View File

@ -22,6 +22,13 @@ type GetReq struct {
VideoThumbnailProcess string `json:"video_thumbnail_process"`
}
// download request bean
type DownloadReq struct {
DriveId string `json:"drive_id"`
FileId string `json:"file_id"`
ExpireSec int `json:"expire_sec"`
}
// search request bean
type SearchReq struct {
DriveId string `json:"drive_id"`