Files
web_huakui_server/web/service/srv_app/app.go
T
rootandClaude Opus 4.7 85c0071fd8 feat: 从黄果 NET hgdjnet-server 9bfbafe 导入 HKDJ 官网后端
来源:hgdjnet-server 9bfbafe10d417deea959bd53117bc88a10e60a83
项目身份 HKDJ / JHA-216,独立官网仓库,Jenkins 守卫键 hkdjnet
测试目录 /server/hkdj_net,App/Web API 30331/30332

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-10-16 11:20:04 +08:00

44 lines
1.4 KiB
Go

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"` // 排序
}