From ae222ee761445c0aedbf9291f231c7bc4f1f7893 Mon Sep 17 00:00:00 2001 From: Faker Date: Thu, 28 Apr 2022 19:30:30 +0800 Subject: [PATCH] Update jd_big_winner_Mod.js --- jd_big_winner_Mod.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_big_winner_Mod.js b/jd_big_winner_Mod.js index 1e8c195..8a6497e 100644 --- a/jd_big_winner_Mod.js +++ b/jd_big_winner_Mod.js @@ -216,7 +216,7 @@ async function main() { if ($.canOpenRed) { while (!$.canApCashWithDraw && $.changeReward) { await openRedReward(); - await $.wait(1000); + await $.wait(1000); } if ($.canApCashWithDraw) { //提现 @@ -253,7 +253,7 @@ function gambleHomePage() { try { if (err) { console.log(`${JSON.stringify(err)}`) - console.log(`${$.name} API请求失败,请检查网路重试`) + console.log(`${$.name} API请求失败,请检查网路重试`) } else { if (data) { data = JSON.parse(data); @@ -356,6 +356,7 @@ function openRedReward(functionId = 'gambleChangeReward', type) { if (err) { console.log(`${JSON.stringify(err)}`) console.log(`${$.name} API请求失败,请检查网路重试`) + $.changeReward = false; } else { if (data) { console.log(`翻翻乐结果:${data}\n`);