|
@ -29,6 +29,7 @@ type GetListRes struct { |
|
|
type CreateReq struct { |
|
|
type CreateReq struct { |
|
|
g.Meta `path:"/video/add" method:"post" summary:"创建视频" tags:"视频"` |
|
|
g.Meta `path:"/video/add" method:"post" summary:"创建视频" tags:"视频"` |
|
|
CollectId int `json:"collect_id" description:"站点"` |
|
|
CollectId int `json:"collect_id" description:"站点"` |
|
|
|
|
|
SourceUrl string `json:"source_url" description:"源地址"` |
|
|
Title string `json:"title" description:"标题"` |
|
|
Title string `json:"title" description:"标题"` |
|
|
TitleSub string `json:"title_sub" description:"副标"` |
|
|
TitleSub string `json:"title_sub" description:"副标"` |
|
|
Letter string `json:"letter" description:"首字母"` |
|
|
Letter string `json:"letter" description:"首字母"` |
|
@ -78,6 +79,7 @@ type UpdateReq struct { |
|
|
g.Meta `path:"/video/update" method:"post" summary:"更新视频" tags:"视频"` |
|
|
g.Meta `path:"/video/update" method:"post" summary:"更新视频" tags:"视频"` |
|
|
Id uint `json:"id" description:""` |
|
|
Id uint `json:"id" description:""` |
|
|
CollectId int `json:"collect_id" description:"站点"` |
|
|
CollectId int `json:"collect_id" description:"站点"` |
|
|
|
|
|
SourceUrl string `json:"source_url" description:"源地址"` |
|
|
Title string `json:"title" description:"标题"` |
|
|
Title string `json:"title" description:"标题"` |
|
|
TitleSub string `json:"title_sub" description:"副标"` |
|
|
TitleSub string `json:"title_sub" description:"副标"` |
|
|
Letter string `json:"letter" description:"首字母"` |
|
|
Letter string `json:"letter" description:"首字母"` |
|
|