30 lines
899 B
Go
30 lines
899 B
Go
package response
|
|
|
|
// ChannelResponse 频道响应
|
|
type ChannelResponse struct {
|
|
Id string `json:"id"`
|
|
CategoryId string `json:"categoryId"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
CoverUrl string `json:"coverUrl"`
|
|
StreamUrl string `json:"streamUrl"`
|
|
Tags string `json:"tags"`
|
|
IsVipOnly int `json:"isVipOnly"`
|
|
Sort int `json:"sort"`
|
|
Status int `json:"status"`
|
|
}
|
|
|
|
// ChannelDetailResponse 频道详情响应
|
|
type ChannelDetailResponse struct {
|
|
Id string `json:"id"`
|
|
CategoryId string `json:"categoryId"`
|
|
Name string `json:"name"`
|
|
Description string `json:"description"`
|
|
CoverUrl string `json:"coverUrl"`
|
|
StreamUrl string `json:"streamUrl"`
|
|
Tags string `json:"tags"`
|
|
IsVipOnly int `json:"isVipOnly"`
|
|
Sort int `json:"sort"`
|
|
Status int `json:"status"`
|
|
}
|