POST api/WxVoteAct/UpdateActivity
后台 - 更新投票活动信息
Request Information
URI Parameters
None.
Body Parameters
WxVoteActivityFullInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
活动标识 |
integer |
None. |
| Name |
活动名称 |
string |
None. |
| StartTime |
活动起始时间 |
date |
None. |
| EndTime |
活动截止时间 |
date |
None. |
| Description |
活动介绍 |
string |
None. |
| DescriptionWithoutHtml |
活动介绍(无html版) |
string |
None. |
| VotingRules |
投票规则 |
string |
None. |
| IsVotingRulesAutoGenerate |
投票规则是否自动生成 |
boolean |
None. |
| Prize |
活动奖项 |
string |
None. |
| AllowApply |
允许报名 |
boolean |
None. |
| ApplyStartTime |
报名起始时间 |
date |
None. |
| ApplyEndTime |
报名截止时间 |
date |
None. |
| ApplyPicEssential |
报名必须上传图片 |
boolean |
None. |
| ApplyVideoEssential |
报名必须上传视频 |
boolean |
None. |
| PlayerDisplayName |
选手称谓 |
string |
None. |
| VirtualViews |
虚拟浏览量 |
integer |
None. |
| ActualViews |
真实浏览量 |
integer |
None. |
| Views |
浏览量总和 |
integer |
None. |
| PlayerComposing |
选手排版类型 |
PlayerComposingType |
None. |
| PlayerPoster |
选手海报类型 |
PlayerPosterType |
None. |
| OrderPage |
排行模板 |
OrderPageType |
None. |
| PlayerOrder |
选手排序类型 |
WxPlayerSearchOrderType |
None. |
| BackgroundColor |
页面背景色 |
string |
None. |
| IsBackgroundMusicOn |
背景音乐是否开启 |
boolean |
None. |
| BackgroundMusic |
背景音乐 |
string |
None. |
| ThemeColor |
主题配色 |
string |
None. |
| VotingColor |
投票按钮文字颜色 |
string |
None. |
| IsCoverModalOn |
活动首页弹窗是否打开 |
boolean |
None. |
| CoverModal |
活动首页弹窗 |
string |
None. |
| IsVotingAdsOn |
投票时是否植入广告 |
boolean |
None. |
| VotingAds |
投票时植入广告 |
string |
None. |
| IsVotedAdsOn |
投票结束时是否植入广告 |
boolean |
None. |
| VotedAds |
投票结束时植入广告 |
string |
None. |
| WechatSharePic |
微信分享封面 |
string |
None. |
| WechatShareName |
微信分享标题 |
string |
None. |
| WechatShareDesp |
微信分享描述 |
string |
None. |
| IsActivate |
是否启用 |
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. |
| CreateTime |
创建时间 |
date |
None. |
| HasInsideGroup |
是否包含内部活动分组 |
boolean |
None. |
| InsideGroupCategories |
内部活动分组 |
Collection of CategroySimpleDto |
None. |
| TotalPlayerNum |
全部选手数量 |
integer |
None. |
| TotalVoteNum |
全部投票数量 |
integer |
None. |
| KefuQrCode |
客服二维码 |
string |
None. |
| KefuIntro |
客服标语 |
string |
None. |
Request Formats
application/json
text/json
application/xml, text/xml
<WxVoteActivityFullInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.WxVote.Service.Dto.Activity">
<ActualViews>14</ActualViews>
<AllowApply>true</AllowApply>
<ApplyEndTime>2025-12-20T14:47:18.0333827+08:00</ApplyEndTime>
<ApplyPicEssential>true</ApplyPicEssential>
<ApplyStartTime>2025-12-20T14:47:18.0333827+08:00</ApplyStartTime>
<ApplyVideoEssential>true</ApplyVideoEssential>
<BackgroundColor>sample string 15</BackgroundColor>
<BackgroundMusic>sample string 17</BackgroundMusic>
<CoverModal>sample string 21</CoverModal>
<CreateTime>2025-12-20T14:47:18.0333827+08:00</CreateTime>
<Description>sample string 5</Description>
<EndTime>2025-12-20T14:47:18.0333827+08:00</EndTime>
<HasInsideGroup>true</HasInsideGroup>
<Id>1</Id>
<InsideGroupCategories xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Categroy">
<d2p1:CategroySimpleDto>
<d2p1:CategoryId>1</d2p1:CategoryId>
<d2p1:Chrcategory>sample string 2</d2p1:Chrcategory>
<d2p1:Chrcontent>sample string 9</d2p1:Chrcontent>
<d2p1:Chrimage>sample string 7</d2p1:Chrimage>
<d2p1:Ckeyword>sample string 8</d2p1:Ckeyword>
<d2p1:IsClose>11</d2p1:IsClose>
<d2p1:IsSkipCategory>true</d2p1:IsSkipCategory>
<d2p1:Isindex>12</d2p1:Isindex>
<d2p1:ListShowType>Transverse</d2p1:ListShowType>
<d2p1:MobileImage>sample string 10</d2p1:MobileImage>
<d2p1:Parentid>4</d2p1:Parentid>
<d2p1:SkipCategoryPublishUrl>sample string 15</d2p1:SkipCategoryPublishUrl>
<d2p1:SkipCategoryUrl>sample string 14</d2p1:SkipCategoryUrl>
<d2p1:Styleid>3</d2p1:Styleid>
<d2p1:Type>Preset</d2p1:Type>
<d2p1:X>5.1</d2p1:X>
<d2p1:Y>6.1</d2p1:Y>
</d2p1:CategroySimpleDto>
<d2p1:CategroySimpleDto>
<d2p1:CategoryId>1</d2p1:CategoryId>
<d2p1:Chrcategory>sample string 2</d2p1:Chrcategory>
<d2p1:Chrcontent>sample string 9</d2p1:Chrcontent>
<d2p1:Chrimage>sample string 7</d2p1:Chrimage>
<d2p1:Ckeyword>sample string 8</d2p1:Ckeyword>
<d2p1:IsClose>11</d2p1:IsClose>
<d2p1:IsSkipCategory>true</d2p1:IsSkipCategory>
<d2p1:Isindex>12</d2p1:Isindex>
<d2p1:ListShowType>Transverse</d2p1:ListShowType>
<d2p1:MobileImage>sample string 10</d2p1:MobileImage>
<d2p1:Parentid>4</d2p1:Parentid>
<d2p1:SkipCategoryPublishUrl>sample string 15</d2p1:SkipCategoryPublishUrl>
<d2p1:SkipCategoryUrl>sample string 14</d2p1:SkipCategoryUrl>
<d2p1:Styleid>3</d2p1:Styleid>
<d2p1:Type>Preset</d2p1:Type>
<d2p1:X>5.1</d2p1:X>
<d2p1:Y>6.1</d2p1:Y>
</d2p1:CategroySimpleDto>
</InsideGroupCategories>
<IsActivate>true</IsActivate>
<IsBackgroundMusicOn>true</IsBackgroundMusicOn>
<IsCoverModalOn>true</IsCoverModalOn>
<IsVotedAdsOn>true</IsVotedAdsOn>
<IsVotingAdsOn>true</IsVotingAdsOn>
<IsVotingRulesAutoGenerate>true</IsVotingRulesAutoGenerate>
<KefuIntro>sample string 43</KefuIntro>
<KefuQrCode>sample string 42</KefuQrCode>
<Name>sample string 2</Name>
<OrderPage>Type1</OrderPage>
<PlayerComposing>DoubleLineWaterfallFlow</PlayerComposing>
<PlayerDisplayName>sample string 12</PlayerDisplayName>
<PlayerOrder>OrderByVoteNum</PlayerOrder>
<PlayerPoster>Type1</PlayerPoster>
<Prize>sample string 8</Prize>
<StartTime>2025-12-20T14:47:18.0333827+08:00</StartTime>
<ThemeColor>sample string 18</ThemeColor>
<TotalPlayerNum>40</TotalPlayerNum>
<TotalVoteNum>41</TotalVoteNum>
<VirtualViews>13</VirtualViews>
<VoteBannedIPAreaList>sample string 36</VoteBannedIPAreaList>
<VoteBannedIPList>sample string 35</VoteBannedIPList>
<VoteBannedMemberList>sample string 37</VoteBannedMemberList>
<VoteCaptcha>None</VoteCaptcha>
<VoteLimitByUserPerDay>33</VoteLimitByUserPerDay>
<VoteLimitPerPlayerPerDay>30</VoteLimitPerPlayerPerDay>
<VoteLimitPerPlayerPerHour>31</VoteLimitPerPlayerPerHour>
<VoteLimitPerPlayerPerUserPerDay>32</VoteLimitPerPlayerPerUserPerDay>
<VoteRestrictIPAreaList>sample string 34</VoteRestrictIPAreaList>
<VoteTypePerUserPerDay>None</VoteTypePerUserPerDay>
<VotedAds>sample string 25</VotedAds>
<VotingAds>sample string 23</VotingAds>
<VotingColor>sample string 19</VotingColor>
<VotingRules>sample string 6</VotingRules>
<WechatShareDesp>sample string 28</WechatShareDesp>
<WechatShareName>sample string 27</WechatShareName>
<WechatSharePic>sample string 26</WechatSharePic>
</WxVoteActivityFullInfoDto>
application/x-www-form-urlencoded
Response Information
Resource Description
后台 - 更新投票活动信息
ObjectNone.
Response Formats
application/json
text/json
application/xml, text/xml
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />