This commit is contained in:
Faker 2022-04-28 19:29:54 +08:00
parent 36ec8a1ae0
commit d7fdf9870d
2 changed files with 3 additions and 92 deletions

File diff suppressed because one or more lines are too long

View File

@ -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`);