init: 初始化 web_hgdjb_server 项目

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 10:47:32 +08:00
co-authored by Claude Opus 4.7
commit f13d33af4d
707 changed files with 147705 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
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"` // 作品数
}