|
|
@ -22,10 +22,10 @@ type LiveProgram struct { |
|
|
|
Id string `json:"id" xql:"id,pk"` |
|
|
|
ProgramName string `json:"programName"` |
|
|
|
Alias string `json:"alias"` |
|
|
|
RefId int `json:"refId"` |
|
|
|
RefId int `json:"refId" xql:"ref_id"` |
|
|
|
Index int `json:"index" xql:"idx"` |
|
|
|
Icon string `json:"icon"` |
|
|
|
Tags []models.StringArray `json:"tags"` |
|
|
|
Tags models.StringArray `json:"tags"` |
|
|
|
BasePath string `json:"basePath,omitempty"` |
|
|
|
LiveUri string `json:"liveUri,omitempty"` |
|
|
|
EventUri string `json:"eventUri,omitempty"` |
|
|
@ -46,10 +46,11 @@ type LiveCategoryProgram struct { |
|
|
|
const LIVEEVENT = "metas_live_events" |
|
|
|
|
|
|
|
type LiveEvent struct { |
|
|
|
Id string `json:"id" xql:"id,pk"` |
|
|
|
Id string `json:"id" xql:",pk"` |
|
|
|
ProgramId string `json:"programId" xql:"program_id"` |
|
|
|
ProgramName string `json:"programName,omitempty"` |
|
|
|
TvName string `json:"tvName"` |
|
|
|
TvDescription string `json:"tvDescription"` |
|
|
|
TvDescription string `json:"tvDescription" xql:"tv_desc"` |
|
|
|
Date string `json:"date"` |
|
|
|
Begin string `json:"begin"` |
|
|
|
End string `json:"end"` |
|
|
|