mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-03 16:34:07 +08:00
Update jd_big_winner_Mod.js
This commit is contained in:
@@ -216,7 +216,7 @@ async function main() {
|
|||||||
if ($.canOpenRed) {
|
if ($.canOpenRed) {
|
||||||
while (!$.canApCashWithDraw && $.changeReward) {
|
while (!$.canApCashWithDraw && $.changeReward) {
|
||||||
await openRedReward();
|
await openRedReward();
|
||||||
await $.wait(1000);
|
await $.wait(1000);
|
||||||
}
|
}
|
||||||
if ($.canApCashWithDraw) {
|
if ($.canApCashWithDraw) {
|
||||||
//提现
|
//提现
|
||||||
@@ -253,7 +253,7 @@ function gambleHomePage() {
|
|||||||
try {
|
try {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(`${JSON.stringify(err)}`)
|
console.log(`${JSON.stringify(err)}`)
|
||||||
console.log(`${$.name} API请求失败,请检查网路重试`)
|
console.log(`${$.name} API请求失败,请检查网路重试`)
|
||||||
} else {
|
} else {
|
||||||
if (data) {
|
if (data) {
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
@@ -356,6 +356,7 @@ function openRedReward(functionId = 'gambleChangeReward', type) {
|
|||||||
if (err) {
|
if (err) {
|
||||||
console.log(`${JSON.stringify(err)}`)
|
console.log(`${JSON.stringify(err)}`)
|
||||||
console.log(`${$.name} API请求失败,请检查网路重试`)
|
console.log(`${$.name} API请求失败,请检查网路重试`)
|
||||||
|
$.changeReward = false;
|
||||||
} else {
|
} else {
|
||||||
if (data) {
|
if (data) {
|
||||||
console.log(`翻翻乐结果:${data}\n`);
|
console.log(`翻翻乐结果:${data}\n`);
|
||||||
|
|||||||
Reference in New Issue
Block a user