Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shufflewzc committed Nov 1, 2021
1 parent 372ddae commit 0d6bf17
Show file tree
Hide file tree
Showing 2 changed files with 975 additions and 595 deletions.
6 changes: 4 additions & 2 deletions jd_big_winner.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,12 @@ async function main() {
console.log(`开始进行翻翻乐拿红包\n`)
await gambleOpenReward();//打开红包
if ($.canOpenRed) {
while (!$.canApCashWithDraw && $.changeReward) {
let num = 0;
do {
await openRedReward();
await $.wait(500);
}
num++
} while (!$.canApCashWithDraw && $.changeReward && num < 20)
if ($.canApCashWithDraw) {
//提现
await openRedReward('gambleObtainReward', $.rewardData.rewardType);
Expand Down
Loading

0 comments on commit 0d6bf17

Please sign in to comment.