init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package pushmod
import "91jd-server/models/commod"
// AddReq 推送添加
type AddReq struct {
VideoID string `form:"videoID" json:"videoID"`
Title string `form:"title" json:"title"`
}
// ListReq 推送列表
type ListReq struct {
VideoID string `form:"videoID" json:"videoID"`
commod.Page
}
// DeleteReq 推送删除请求
type DeleteReq struct {
IDs []string `form:"ids" json:"ids"`
}
// ListResp 推送视频列表应答
type ListResp struct {
VInfos []*PushModel `json:"vInfos"`
Total int64 `json:"total"`
}
// OperateResult 更新或者删除的操作返回结果
type OperateResult struct {
Count int64 `json:"count"`
}