POST api/LiveBroadcostConfig/UpdateAdminConfig

后台--更新配置

Request Information

URI Parameters

None.

Body Parameters

配置内容

LiveBroadcostConfigDto
NameDescriptionTypeAdditional 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.

Request 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:
<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>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LiveBroadcostConfigDto'.

Response Information

Resource Description

后台--更新配置

Object

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:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />