var model = [{
name: '一等奖',
key: 'level1',
radio: 1,
},{
name: '二等奖',
key: 'level2',
radio: 2,
},{
name: '三等奖',
key: 'level3',
radio: 3,
},{
name: '参与',
key: 'level4',
radio: 5
}];
var draw = new Draw(model);
var drawResult = draw.getResult();
-
Notifications
You must be signed in to change notification settings - Fork 1
ColdDay/lottery-draw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
按照权重设置中奖概率
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published