POST api/TiebaConfig/AdminUpdateTiebaConfigs

后台--贴吧配置更新

Request Information

URI Parameters

None.

Body Parameters

配置信息

TiebaConfigsDto
NameDescriptionTypeAdditional information
Id

主键

integer

None.

Logo

贴吧logo

string

None.

PublishNeedApprove

免费新帖是否需要审核

boolean

None.

ReplyNeedApprove

回复是否需要审核

boolean

None.

HotPostViews

热门帖子(浏览数)

integer

None.

HotPostReplys

热门帖子(回帖数)

integer

None.

RewardGoldFrom

现金打赏从

integer

None.

RewardGoldTo

现金打赏到

integer

None.

RewardJiFenFrom

积分(金币)打赏从

integer

None.

RewardJiFenTo

积分(金币)打赏到

integer

None.

EveryDayImproveViewsFrom

每日帖子浏览量增加从

integer

None.

EveryDayImproveViewsTo

每日帖子浏览量增加到

integer

None.

NoApproveUserList

免审名单,用户id,用逗号分隔

string

None.

NoApproveUserNames

免审名单用户名

Collection of string

None.

NoSpeakUserList

禁止发言名单,用户id,用逗号分隔

string

None.

NoSpeakUserNames

禁止发言名单用户名

Collection of string

None.

EssenceReward

加精华奖励积分数

integer

None.

PostReward

发帖奖励积分数

integer

None.

ReplyReward

回帖奖励积分数

integer

None.

PlatformName

平台名称

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<TiebaConfigsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Tieba.Service.Dto.Configs">
  <PlatformName xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Model.Base.Platform">sample string 18</PlatformName>
  <EssenceReward>15</EssenceReward>
  <EveryDayImproveViewsFrom>11</EveryDayImproveViewsFrom>
  <EveryDayImproveViewsTo>12</EveryDayImproveViewsTo>
  <HotPostReplys>6</HotPostReplys>
  <HotPostViews>5</HotPostViews>
  <Id>1</Id>
  <Logo>sample string 2</Logo>
  <NoApproveUserList>sample string 13</NoApproveUserList>
  <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>
  <NoSpeakUserList>sample string 14</NoSpeakUserList>
  <NoSpeakUserNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </NoSpeakUserNames>
  <PostReward>16</PostReward>
  <PublishNeedApprove>true</PublishNeedApprove>
  <ReplyNeedApprove>true</ReplyNeedApprove>
  <ReplyReward>17</ReplyReward>
  <RewardGoldFrom>7</RewardGoldFrom>
  <RewardGoldTo>8</RewardGoldTo>
  <RewardJiFenFrom>9</RewardJiFenFrom>
  <RewardJiFenTo>10</RewardJiFenTo>
</TiebaConfigsDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

后台--贴吧配置更新

Object

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

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/" />