GET api/LiveBroadcostHomePage/GetTipCountRank?top={top}

获取打赏排行

Request Information

URI Parameters

NameDescriptionTypeAdditional information
top

搜索参数

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

获取打赏排行

Collection of TipCountRankDto
NameDescriptionTypeAdditional information
UserId

用户id

integer

None.

UserName

用户名

string

None.

UserHeadPic

用户头像

string

None.

HomePageId

主页id

integer

None.

RankNum

排序

integer

None.

TipCount

总打赏金额

decimal number

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<ArrayOfTipCountRankDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto.HomePage">
  <TipCountRankDto>
    <HomePageId>4</HomePageId>
    <RankNum>5</RankNum>
    <TipCount>6</TipCount>
    <UserHeadPic>sample string 3</UserHeadPic>
    <UserId>1</UserId>
    <UserName>sample string 2</UserName>
  </TipCountRankDto>
  <TipCountRankDto>
    <HomePageId>4</HomePageId>
    <RankNum>5</RankNum>
    <TipCount>6</TipCount>
    <UserHeadPic>sample string 3</UserHeadPic>
    <UserId>1</UserId>
    <UserName>sample string 2</UserName>
  </TipCountRankDto>
</ArrayOfTipCountRankDto>