@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user