GET api/LiveBroadcostConfig/GetConfig
获取配置
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取配置
LiveBroadcostConfigDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PlatformName |
平台名称 |
string |
None. |
| IsNeedOrdinaryPublish |
普通会员发布视频是否需要审核 |
boolean |
None. |
| IsNeedAuthPublish |
认证会员发布视频是否需要审核 |
boolean |
None. |
| UserIds |
用‘,’隔开 |
string |
None. |
| NoApproveUserNames |
免审名单用户名 |
Collection of string |
None. |
| PublishDayNew |
发布时间几天内是新上视频 |
integer |
None. |
| HotHits |
播放量达到多少 成为热门 |
integer |
None. |
| RewardGoldFrom |
现金打赏从 |
integer |
None. |
| RewardGoldTo |
现金打赏到 |
integer |
None. |
| IsCommerce |
是否开启带货功能 |
boolean |
None. |
| PublishingProtocol |
视频发布协议 |
string |
None. |
| IsNeedOrdinaryComment |
普通会员评论是否需要审核 |
boolean |
None. |
| IsNeedAuthComment |
认证会员评论是否需要审核 |
boolean |
None. |
| RedPackageDrawLimitTime |
领取红包倒计时配置 |
integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<LiveBroadcostConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto">
<HotHits>7</HotHits>
<Id>1</Id>
<IsCommerce>true</IsCommerce>
<IsNeedAuthComment>true</IsNeedAuthComment>
<IsNeedAuthPublish>true</IsNeedAuthPublish>
<IsNeedOrdinaryComment>true</IsNeedOrdinaryComment>
<IsNeedOrdinaryPublish>true</IsNeedOrdinaryPublish>
<NoApproveUserNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</NoApproveUserNames>
<PlatformName>sample string 2</PlatformName>
<PublishDayNew>6</PublishDayNew>
<PublishingProtocol>sample string 11</PublishingProtocol>
<RedPackageDrawLimitTime>14</RedPackageDrawLimitTime>
<RewardGoldFrom>8</RewardGoldFrom>
<RewardGoldTo>9</RewardGoldTo>
<UserIds>sample string 5</UserIds>
</LiveBroadcostConfigDto>