GET api/LiveBroadcostVideo/GetFrontVideoInfo?id={id}
单个视频--前台
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
搜索参数 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
单个视频--前台
VideoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CoverFilePath |
视频封面 |
string |
None. |
| VideoFilePath |
视频地址 |
string |
None. |
| VideoDesc |
视频描述 |
string |
None. |
| CategoryId |
视频分类 |
integer |
None. |
| EntityId |
关联id |
integer |
None. |
| EntityTitle |
关联标题 |
string |
None. |
| CustomTitle |
自定义标题 |
string |
None. |
| CustomUrl |
自定义链接 |
string |
None. |
| EntityType |
关联数据类型 自定义需要传自定义 0 不关联传-1 |
LiveBroadcostScene |
None. |
| EntityFilePath |
关联信息的封面 或者自定义封面 |
string |
None. |
| VideoDuration |
视频时长 |
decimal number |
None. |
| CreateTime |
创建时间 |
date |
None. |
| IsHot |
是否热门 |
boolean |
None. |
| Area |
地区 |
string |
None. |
| UserId |
用户id |
integer |
None. |
| X | decimal number |
None. |
|
| Y | decimal number |
None. |
|
| CommentNums |
评论数 |
integer |
None. |
| RelationTitle |
关联标题 前端使用 |
string |
None. |
| RelationUrl |
关联链接 前端使用 |
string |
None. |
| UserName |
用户名称 |
string |
None. |
| UserHeadPic |
用户头像 |
string |
None. |
| VideoCollectNum |
收藏数 |
integer |
None. |
| RedPacketId |
红包id |
integer |
None. |
| IsRedPacket |
是否有红包(包括已领取完成) |
boolean |
None. |
| IsOver |
是否被领取完 |
boolean |
None. |
| IsPay |
是否支付 |
boolean |
None. |
| MallCommodityId |
带货商品id |
integer |
None. |
| IsRevert |
是否能评论 |
boolean |
None. |
| IsReward |
是否可以打赏 |
boolean |
None. |
| IsShow |
是否展示 |
boolean |
None. |
| IsKill |
审核状态 |
AuditStatusType |
None. |
| Width |
视频宽 |
integer |
None. |
| High |
视频高 |
integer |
None. |
| IsFocus |
是否关注 |
boolean |
None. |
| IsCollect |
是否收藏 |
boolean |
None. |
| MallCommodityName |
带货商品名称 |
string |
None. |
| MallCommodityFilePath |
带货商品封面 |
string |
None. |
| IsShowCreateTime |
是否显示发布时间 |
boolean |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<VideoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto.Video"> <Area>sample string 14</Area> <CategoryId>5</CategoryId> <CommentNums>18</CommentNums> <CoverFilePath>sample string 2</CoverFilePath> <CreateTime>2025-12-23T22:52:11.5765185+08:00</CreateTime> <CustomTitle>sample string 8</CustomTitle> <CustomUrl>sample string 9</CustomUrl> <EntityFilePath>sample string 10</EntityFilePath> <EntityId>6</EntityId> <EntityTitle>sample string 7</EntityTitle> <EntityType>Custom</EntityType> <High>33</High> <Id>1</Id> <IsCollect>true</IsCollect> <IsFocus>true</IsFocus> <IsHot>true</IsHot> <IsKill>TobeAgree</IsKill> <IsOver>true</IsOver> <IsPay>true</IsPay> <IsRedPacket>true</IsRedPacket> <IsRevert>true</IsRevert> <IsReward>true</IsReward> <IsShow>true</IsShow> <IsShowCreateTime>true</IsShowCreateTime> <MallCommodityFilePath>sample string 37</MallCommodityFilePath> <MallCommodityId>28</MallCommodityId> <MallCommodityName>sample string 36</MallCommodityName> <RedPacketId>24</RedPacketId> <RelationTitle>sample string 19</RelationTitle> <RelationUrl>sample string 20</RelationUrl> <UserHeadPic>sample string 22</UserHeadPic> <UserId>15</UserId> <UserName>sample string 21</UserName> <VideoCollectNum>23</VideoCollectNum> <VideoDesc>sample string 4</VideoDesc> <VideoDuration>11</VideoDuration> <VideoFilePath>sample string 3</VideoFilePath> <Width>32</Width> <X>16.1</X> <Y>17.1</Y> </VideoDto>