Documentation ¶
Index ¶
- type ArgRankElecMonth
- type ArgRankElecMonthUP
- type Common
- type RespElecReply
- type RespRankElecAllAV
- type RespRankElecElement
- type RespRankElecElementDetail
- type RespRankElecMonth
- type RespRankElecMonthUP
- type RespShowInfo
- type RespVIPInfo
- type RetRankElecAllAV
- type RetRankElecMonth
- type RetRankElecMonthUP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgRankElecMonth ¶
type ArgRankElecMonth struct { UPMID int64 `form:"up_mid" validate:"required"` // up主MID AVID int64 `form:"av_id" validate:"required"` RankSize int `form:"rank_size"` // 榜单大小 }
ArgRankElecMonth .
type ArgRankElecMonthUP ¶
type ArgRankElecMonthUP struct { UPMID int64 `form:"up_mid" validate:"required"` // up主MID RankSize int `form:"rank_size"` // 榜单大小 }
ArgRankElecMonthUP .
type RespElecReply ¶
type RespElecReply struct { ReplyMID int64 `json:"reply_mid"` ReplyMSG string `json:"reply_msg"` ReplyName string `json:"reply_name"` ReplyTime int64 `json:"reply_time"` }
RespElecReply .
type RespRankElecAllAV ¶
type RespRankElecAllAV struct { TotalCount int64 `json:"total_count"` List []*RespRankElecElementDetail `json:"list"` }
RespRankElecAllAV .
func (*RespRankElecAllAV) Parse ¶
func (r *RespRankElecAllAV) Parse(rank *model.RankElecAVProto)
Parse .
type RespRankElecElement ¶
type RespRankElecElement struct { UName string `json:"uname"` // 用户名 Avatar string `json:"avatar"` // 头像 MID int64 `json:"mid"` // up主 PayMID int64 `json:"pay_mid"` // 金主爸爸 Rank int `json:"rank"` // 排名 TrendType uint8 `json:"trend_type"` // 上升趋势 VIP *RespVIPInfo `json:"vip_info"` // VIP 信息 }
RespRankElecElement 榜单元素信息
func (*RespRankElecElement) Parse ¶
func (r *RespRankElecElement) Parse(ele *model.RankElecElementProto, upMID int64)
Parse .
type RespRankElecElementDetail ¶
type RespRankElecElementDetail struct { RespRankElecElement Message string `json:"message"` // 留言 MessasgeHidden int `json:"message_hidden"` // }
RespRankElecElementDetail 榜单元素详情
func (*RespRankElecElementDetail) Parse ¶
func (r *RespRankElecElementDetail) Parse(ele *model.RankElecElementProto, upMID int64)
Parse .
type RespRankElecMonth ¶
type RespRankElecMonth struct { AVCount int64 `json:"av_count"` AVList []*RespRankElecElementDetail `json:"av_list"` UPCount int64 `json:"up_count"` UPList []*RespRankElecElementDetail `json:"up_list"` ShowInfo *RespShowInfo `json:"show_info"` TotalCount int64 `json:"total_count"` }
RespRankElecMonth .
func (*RespRankElecMonth) Parse ¶
func (r *RespRankElecMonth) Parse(avRank *model.RankElecAVProto, upRank *model.RankElecUPProto)
Parse .
type RespRankElecMonthUP ¶
type RespRankElecMonthUP struct { Count int64 `json:"count"` // UP主维度月充电数量 List []*RespRankElecElementDetail `json:"list"` TotalCount int64 `json:"total_count"` }
RespRankElecMonthUP .
func (*RespRankElecMonthUP) Parse ¶
func (r *RespRankElecMonthUP) Parse(monthlyRank *model.RankElecUPProto)
Parse .
type RespShowInfo ¶
RespShowInfo .
type RespVIPInfo ¶
type RespVIPInfo struct { VIPDueMsec int64 `json:"vipDueMsec"` VIPStatus int32 `json:"vipStatus"` VIPType int32 `json:"vipType"` }
RespVIPInfo .
type RetRankElecAllAV ¶
type RetRankElecAllAV struct { Common Data *RespRankElecAllAV `json:"data,omitempty"` }
RetRankElecAllAV .
type RetRankElecMonth ¶
type RetRankElecMonth struct { Common Data *RespRankElecMonth `json:"data,omitempty"` }
RetRankElecMonth .
type RetRankElecMonthUP ¶
type RetRankElecMonthUP struct { Common Data *RespRankElecMonthUP `json:"data,omitempty"` }
RetRankElecMonthUP .
Click to show internal directories.
Click to hide internal directories.