Commit 3dc1c260 authored by jiangpeng's avatar jiangpeng

dapp/vote:update doc

parent f485969a
...@@ -152,7 +152,7 @@ curl -kd '{"method":"Chain33.CreateTransaction","params":[{"execer":"vote","act ...@@ -152,7 +152,7 @@ curl -kd '{"method":"Chain33.CreateTransaction","params":[{"execer":"vote","act
#### 提交投票(CommitVote) #### 提交投票(CommitVote)
- 投票组成员发起投票交易 - 投票组成员发起投票交易
- 指定所在投票组ID,投票ID,投票选项 - 指定投票ID,投票选项
- 投票选项使用数组下标标识,而不是选项内容 - 投票选项使用数组下标标识,而不是选项内容
##### 交易请求 ##### 交易请求
...@@ -299,10 +299,8 @@ message ReqStrings { ...@@ -299,10 +299,8 @@ message ReqStrings {
##### 响应结构 ##### 响应结构
```proto ```proto
message ReplyVoteList { message ReplyVoteList {
repeated VoteInfo pendingList = 1; //即将开始投票列表 repeated VoteInfo voteList = 1; //投票列表
repeated VoteInfo ongoingList = 2; //正在进行投票列表 int64 currentTimestamp = 2; //当前系统时间
repeated VoteInfo finishedList = 3; //已经完成投票列表
repeated VoteInfo closedList = 4; //已经关闭投票列表
} }
``` ```
...@@ -398,10 +396,8 @@ message ReqListItem { ...@@ -398,10 +396,8 @@ message ReqListItem {
##### 响应结构 ##### 响应结构
```proto ```proto
message ReplyVoteList { message ReplyVoteList {
repeated VoteInfo pendingList = 1; //即将开始投票列表 repeated VoteInfo voteList = 1; //投票列表
repeated VoteInfo ongoingList = 2; //正在进行投票列表 int64 currentTimestamp = 2; //当前系统时间
repeated VoteInfo finishedList = 3; //已经完成投票列表
repeated VoteInfo closedList = 4; //已经关闭投票列表
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment