群组投票
URL: http://120.92.201.43:8090/Daren/vote/groupVote.action
请求方式: HTTP POST
请求参数说明:
| 参数名 | 参数类型 | 必选 | 参数说明 |
|---|---|---|---|
| sid | String | true | sid |
| voteId | String | true | 投票Id |
| candidateMemberId | String | false | 候选群主Id |
| type | String | true | 该投票类型 |
| yesOrNo | String | false | 是否同意(yes/no) |
返回格式: JSON
返回格式样例:
{
"data": {
"voteId": "sssss",
"title": "转群",
"votes": 22,//投票人数
"isVote": false,//是否可评
"desc": " 转群",
"startTime": "2018-09-23 00:00:00",
"endTime": "2018-09-24 00:00:00""candidate": [
{
"candidateMsg": "同意",
"votes": 12
},
{
"candidateMsg": "不同意",
"votes": 10
}
]
},
"errorCode": "0",
"errorMessage": "成功"
}