|
@ -28,7 +28,8 @@ type GetListRes struct { |
|
|
// CreateReq 创建视频请求
|
|
|
// CreateReq 创建视频请求
|
|
|
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:"首字母"` |
|
@ -77,7 +78,8 @@ type CreateRes struct{} |
|
|
type UpdateReq struct { |
|
|
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:"首字母"` |
|
|