init: web_hgdjc_server

This commit is contained in:
2026-11-07 10:46:18 +08:00
commit b2ff6ac8ff
707 changed files with 147645 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
package srv_app
import (
"time"
)
type AppCategoryInfo struct {
Id int64 `json:"id" bson:"_id,omitempty"` // Id
Name string `json:"name" bson:"name"` // 分类名称
Title string `json:"title" bson:"title"` // APP显示
Desc string `json:"desc" bson:"desc"` // 描述
Rank int64 `json:"rank" bson:"rank"` // 排序
}
type AppCreatorInfo struct {
Id int64 `json:"id" bson:"_id,omitempty"`
Name string `json:"name" bson:"name"` // 帖子标题
Sort int64 `json:"sort" bson:"sort"` // 排序
}
type AppTagInfo struct {
Id int64 `json:"id" bson:"_id,omitempty"`
Title string `json:"title" bson:"title"` // 帖子标题
Sort int64 `json:"sort" bson:"sort"` // 排序
}
// AppVideoInfoSyncReq APP数据同步请求
type AppVideoInfoSyncReq struct {
AppId int64 `json:"appId" bson:"appId"`
LastSyncTime time.Time `json:"lastSyncTime" bson:"lastSyncTime"` // 最后同步时间
PageSize int64 `json:"pageSize" bson:"pageSize"` // 页大小
}
type AppVideoCollectionSyncReq struct {
AppId int64 `json:"appId" bson:"appId"`
CollectionId []int64 `json:"collectionId" bson:"collectionId"`
}
type AppVideoCollectionSyncInfo struct {
CollectionID int64 `json:"collectionId" bson:"collectionId"` // 合集ID
VideoId int64 `json:"videoId" bson:"videoId"` // 视频ID
Rank int64 `json:"rank" bson:"rank"` // 排序
}