Files
rootandClaude Opus 4.7 79ac89b458 Initial commit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-11-07 10:47:18 +08:00

28 lines
1.2 KiB
Go

package proto
import (
"videoweb/pub/pubdef"
)
// VideoTopicListReq 视频题材列表请求
type VideoTopicListReq struct {
MediaType int64 `form:"mediaType" json:"mediaType"` // 类型 0-全部 1-影集 2-动画
}
// VideoTopicListResp 视频题材列表响应
type VideoTopicListResp struct {
List []VideoTopicInfo `json:"list"` // 题材集合
}
type VideoTopicInfo struct {
Id int64 `json:"id" bson:"_id,omitempty"` // Id
Name string `json:"name" bson:"name"` // 专题名称
Slug string `json:"slug" bson:"slug"` // slug
Title string `json:"title" bson:"title"` // APP显示
Desc string `json:"desc" bson:"desc"` // 描述
Image string `json:"image" bson:"image"` // 背景
VideoCategoryId int64 `json:"videoCategoryId" bson:"videoCategoryId"` // 视频分类id
SeoInfo pubdef.SeoValue `json:"seoInfo" bson:"seoInfo"` // Seo相关信息
Works int64 `json:"works" bson:"works"` // 作品数
}