mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-19 21:18:03 +08:00
update
This commit is contained in:
parent
36ec8a1ae0
commit
d7fdf9870d
90
jd_38qd.js
90
jd_38qd.js
File diff suppressed because one or more lines are too long
@ -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`);
|
||||||
|
Loading…
Reference in New Issue
Block a user