Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
3dc1c260
Commit
3dc1c260
authored
Jan 28, 2021
by
jiangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dapp/vote:update doc
parent
f485969a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
readme.md
plugin/dapp/vote/readme.md
+5
-9
No files found.
plugin/dapp/vote/readme.md
View file @
3dc1c260
...
...
@@ -152,7 +152,7 @@ curl -kd '{"method":"Chain33.CreateTransaction","params":[{"execer":"vote","act
#### 提交投票(CommitVote)
-
投票组成员发起投票交易
-
指定
所在投票组ID,
投票ID,投票选项
-
指定投票ID,投票选项
-
投票选项使用数组下标标识,而不是选项内容
##### 交易请求
...
...
@@ -299,10 +299,8 @@ message ReqStrings {
##### 响应结构
```
proto
message
ReplyVoteList
{
repeated
VoteInfo
pendingList
=
1
;
//即将开始投票列表
repeated
VoteInfo
ongoingList
=
2
;
//正在进行投票列表
repeated
VoteInfo
finishedList
=
3
;
//已经完成投票列表
repeated
VoteInfo
closedList
=
4
;
//已经关闭投票列表
repeated
VoteInfo
voteList
=
1
;
//投票列表
int64
currentTimestamp
=
2
;
//当前系统时间
}
```
...
...
@@ -398,10 +396,8 @@ message ReqListItem {
##### 响应结构
```
proto
message
ReplyVoteList
{
repeated
VoteInfo
pendingList
=
1
;
//即将开始投票列表
repeated
VoteInfo
ongoingList
=
2
;
//正在进行投票列表
repeated
VoteInfo
finishedList
=
3
;
//已经完成投票列表
repeated
VoteInfo
closedList
=
4
;
//已经关闭投票列表
repeated
VoteInfo
voteList
=
1
;
//投票列表
int64
currentTimestamp
=
2
;
//当前系统时间
}
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment