Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

32 lines
652 B
Go

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"`
}