Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgDMHistory ¶
ArgDMHistory .
type BasicSearchParams ¶
type BasicSearchParams struct { AppID string `form:"appid" params:"appid"` KW string `form:"kw" params:"kw"` KwFields []string `form:"kw_fields,split" params:"kw_fields"` Order []string `form:"order,split" params:"order"` Sort []string `form:"sort,split" params:"sort" default:"desc"` Pn int `form:"pn" params:"pn;Range(1,5000)" default:"1"` Ps int `form:"ps" params:"ps;Range(1,10000)" default:"50"` Debug bool `form:"debug" params:"debug"` Source []string }
BasicSearchParams .
type DmDateParams ¶
type DmDateParams struct { Bsp *BasicSearchParams Oid int64 `form:"oid" params:"oid" default:"-1"` Month string `form:"month" params:"month" default:""` MonthFrom string `form:"month_from" params:"month_from" default:""` MonthTo string `form:"month_to" params:"month_to" default:""` }
DmDateParams .
type DmHistoryParams ¶
type DmHistoryParams struct { Bsp *BasicSearchParams Oid int64 `form:"oid" params:"oid" default:"-1"` States []int64 `form:"states,split" params:"states"` CtimeFrom string `form:"ctime_from" params:"ctime_from"` CtimeTo string `form:"ctime_to" params:"ctime_to"` }
DmHistoryParams .
type DmSearchParams ¶
type DmSearchParams struct { Bsp *BasicSearchParams Oid int64 `form:"oid" params:"oid" default:"-1"` Mid int64 `form:"mid" params:"mid" default:"-1"` Mode int `form:"mode" params:"mode" default:"-1"` Pool int `form:"pool" params:"pool" default:"-1"` Progress int `form:"progress" params:"progress" default:"-1"` States []int `form:"states,split" params:"states"` Type int `form:"type" params:"type" default:"-1"` AttrFormat []int `form:"attr_format,split" params:"attr_format"` CtimeFrom string `form:"ctime_from" params:"ctime_from"` CtimeTo string `form:"ctime_to" params:"ctime_to"` }
DmSearchParams .
type DmUptParams ¶
type DmUptParams struct { ID int64 `json:"id"` Oid int64 `json:"oid"` Field map[string]interface{} }
DmUptParams .
type PgcMediaParams ¶
type PgcMediaParams struct { Bsp *BasicSearchParams MediaIds []int64 `form:"media_ids,split" params:"media_ids"` SeasonIds []int64 `form:"season_ids,split" params:"season_ids"` SeasonTypes []int64 `form:"season_types,split" params:"season_types"` StyleIds []int64 `form:"style_ids,split" params:"style_ids"` Status int `form:"status" params:"status" default:"-1000"` ReleaseDateFrom string `form:"release_date_from" params:"release_date_from"` ReleaseDateTo string `form:"release_date_to" params:"release_date_to"` SeasonIDFrom int `form:"season_id_from" params:"season_id_from"` SeasonIDTo int `form:"season_id_to" params:"season_id_to"` ProducerIds []int64 `form:"producer_ids,split" params:"producer_ids"` IsDeleted int `form:"is_deleted" params:"is_deleted" default:"0"` AreaIds []string `form:"area_ids,split" params:"area_ids"` ScoreFrom int `form:"score_from" params:"score_from"` ScoreTo int `form:"score_to" params:"score_to"` IsFinish string `form:"is_finish" params:"is_finish"` SeasonVersions []int64 `form:"season_versions,split" params:"season_versions"` SeasonStatuses []int64 `form:"season_statuses,split" params:"season_statuses"` PubTimeFrom string `form:"pub_time_from" params:"pub_time_from"` PubTimeTo string `form:"pub_time_to" params:"pub_time_to"` SeasonMonths []int64 `form:"season_months,split" params:"season_months"` LatestTimeFrom string `form:"latest_time_from" params:"latest_time_from"` LatestTimeTo string `form:"latest_time_to" params:"latest_time_to"` CopyrightInfos []string `form:"copyright_infos,split" params:"copyright_infos"` CTimeFrom string `form:"ctime_from" params:"ctime_from"` CTimeTo string `form:"ctime_to" params:"ctime_to"` MTimeFrom string `form:"mtime_from" params:"mtime_from"` MTimeTo string `form:"mtime_to" params:"mtime_to"` }
PgcMediaParams .
type PgcMediaUptParams ¶
PgcMediaUptParams .
func (*PgcMediaUptParams) PField ¶
func (m *PgcMediaUptParams) PField() map[string]interface{}
PField .
type ReplyRecordParams ¶
type ReplyRecordParams struct { Bsp *BasicSearchParams Mid int64 `form:"mid" params:"mid"` Types []int64 `form:"types,split" params:"types"` States []int64 `form:"states,split" params:"states"` CTimeFrom string `form:"ctime_from" params:"ctime_from"` CTimeTo string `form:"ctime_to" params:"ctime_to"` }
ReplyRecordParams search params.
type ReplyRecordUpdateParams ¶
type ReplyRecordUpdateParams struct { ID int64 `json:"id"` OID int64 `json:"oid"` MID int64 `json:"mid"` State int `json:"state"` }
ReplyRecordUpdateParams search params.
func (*ReplyRecordUpdateParams) IndexID ¶
func (m *ReplyRecordUpdateParams) IndexID() string
IndexID .
func (*ReplyRecordUpdateParams) IndexName ¶
func (m *ReplyRecordUpdateParams) IndexName() string
IndexName .
func (*ReplyRecordUpdateParams) IndexType ¶
func (m *ReplyRecordUpdateParams) IndexType() string
IndexType .
type SearchResult ¶
type SearchResult struct { Order string `json:"order"` Sort string `json:"sort"` Result []json.RawMessage `json:"result"` Page *Page `json:"page"` Debug string `json:"debug"` }
SearchResult search result.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.