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
d42515f7
Commit
d42515f7
authored
Jan 05, 2021
by
jiangpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dapp/vote:update doc
parent
7123aa7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
readme.md
plugin/dapp/vote/readme.md
+9
-3
No files found.
plugin/dapp/vote/readme.md
View file @
d42515f7
...
@@ -108,11 +108,17 @@ message VoteInfo {
...
@@ -108,11 +108,17 @@ message VoteInfo {
int64
endTimestamp
=
7
;
//投票结束时间戳
int64
endTimestamp
=
7
;
//投票结束时间戳
repeated
string
votedMembers
=
8
;
//已投票的成员
repeated
string
votedMembers
=
8
;
//已投票的成员
}
}
//投票选项
message
VoteOption
{
string
option
=
1
;
//投票选项
uint32
score
=
2
;
//投票得分
}
```
```
#### 提交投票
#### 提交投票
-
群
成员发起投票交易
-
投票组
成员发起投票交易
-
指定所在投票
群
ID,投票ID,投票选项
-
指定所在投票
组
ID,投票ID,投票选项
-
投票选项使用数组下标标识,而不是选项内容
-
投票选项使用数组下标标识,而不是选项内容
##### 交易请求
##### 交易请求
...
@@ -270,6 +276,6 @@ message MemberInfos {
...
@@ -270,6 +276,6 @@ message MemberInfos {
}
}
```
```
####其他
####
其他
[
投票合约proto源文件
](
proto/vote.proto
)
[
投票合约proto源文件
](
proto/vote.proto
)
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