POST api/WxVoteAct/UpdateActivityCaptchaInfo

后台 - 更新投票活动验证设置信息

Request Information

URI Parameters

None.

Body Parameters

WxVoteActivityCaptchaInfoDto
NameDescriptionTypeAdditional information
Id

活动标识

integer

None.

IsActivate

是否启用

boolean

None.

AllowApply

允许报名

boolean

None.

VoteCaptcha

投票验证码类型

VoteCaptchaType

None.

VoteLimitPerPlayerPerDay

单个选手单日获票上限

integer

None.

VoteLimitPerPlayerPerHour

单个选手单小时获票上限

integer

None.

VoteTypePerUserPerDay

单个选手单用户投票类型

VotePerUserPerDayType

None.

VoteLimitPerPlayerPerUserPerDay

单个选手单用户获票上限

integer

None.

VoteLimitByUserPerDay

单个用户单日投票的总数

integer

None.

VoteRestrictIPAreaList

限制投票IP区域列表,逗号分隔

string

None.

VoteBannedIPList

禁止投票IP列表,逗号分隔

string

None.

VoteBannedIPAreaList

禁止投票IP区域列表,逗号分隔

string

None.

VoteBannedMemberList

禁止投票会员标识列表,逗号分隔

string

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:
<WxVoteActivityCaptchaInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Activity">
  <AllowApply>true</AllowApply>
  <Id>1</Id>
  <IsActivate>true</IsActivate>
  <VoteBannedIPAreaList>sample string 10</VoteBannedIPAreaList>
  <VoteBannedIPList>sample string 9</VoteBannedIPList>
  <VoteBannedMemberList>sample string 11</VoteBannedMemberList>
  <VoteCaptcha>None</VoteCaptcha>
  <VoteLimitByUserPerDay>7</VoteLimitByUserPerDay>
  <VoteLimitPerPlayerPerDay>4</VoteLimitPerPlayerPerDay>
  <VoteLimitPerPlayerPerHour>5</VoteLimitPerPlayerPerHour>
  <VoteLimitPerPlayerPerUserPerDay>6</VoteLimitPerPlayerPerUserPerDay>
  <VoteRestrictIPAreaList>sample string 8</VoteRestrictIPAreaList>
  <VoteTypePerUserPerDay>None</VoteTypePerUserPerDay>
</WxVoteActivityCaptchaInfoDto>

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 'WxVoteActivityCaptchaInfoDto'.

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