feat: 订阅列表和免费列表
This commit is contained in:
@@ -5,14 +5,13 @@ import common "sundynix-go/model/commom/request"
|
||||
// GetProgramList 获取节目列表请求
|
||||
type GetProgramList struct {
|
||||
common.PageInfo
|
||||
ChannelId string `json:"channelId" form:"channelId"` // 频道ID
|
||||
Title string `json:"title" form:"title"` // 节目标题
|
||||
Status int `json:"status" form:"status"` // 状态
|
||||
ChannelId string `json:"channelId" binding:"required" form:"channelId"` // 频道ID
|
||||
Title string `json:"title" form:"title"` // 节目标题
|
||||
Status int `json:"status" form:"status"` // 状态
|
||||
}
|
||||
|
||||
// SaveProgram 保存节目请求
|
||||
type SaveProgram struct {
|
||||
Id string `json:"id" form:"id"` // 节目ID(更新时使用)
|
||||
ChannelId string `json:"channelId" binding:"required"` // 频道ID
|
||||
Title string `json:"title" binding:"required"` // 节目标题
|
||||
Description string `json:"description"` // 节目描述
|
||||
|
||||
Reference in New Issue
Block a user