Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package pushmod
import "91porn-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"`
}