diff --git a/58tc.js b/58tc.js index 9a9b437..f4a450e 100644 --- a/58tc.js +++ b/58tc.js @@ -470,7 +470,7 @@ class UserInfo { console.log(`账号[${this.index}]今天${auctionStr}`) let maxBid = parseFloat(result.result.userInfo.usableOre) let bidNum = 1 - if(this.runTask == 1) { + if(this.runTask == 2) { if(this.auction.status==0) { if(maxBid >= bidNum) { await $.wait(500) @@ -557,7 +557,7 @@ class UserInfo { let str = (item.userState==0) ? '未报名' : ((item.userState==5) ? '可打卡' :'已报名') console.log(`账号[${this.index}]${type}${item.number}期 -- ${str}`) if(item.userState==0) { - if(this.runTask == 1) { + if(this.runTask == 2) { if(this.ore.ore >= item.oreLimitValue) { await $.wait(500) await this.attendanceSignIn(item) @@ -671,21 +671,21 @@ class UserInfo { } console.log('\n================== 竞拍小游戏 ==================') - for(let user of userList) { - await user.auctionInfo(); - await $.wait(200); - } + // for(let user of userList) { + // await user.auctionInfo(); + // await $.wait(200); + // } console.log('\n================== 打卡小游戏 ==================') - for(let user of userList) { - await user.oreMainpage(false); - await $.wait(200); - } + // for(let user of userList) { + // await user.oreMainpage(false); + // await $.wait(200); + // } - for(let user of userList) { - await user.attendanceDetail(); - await $.wait(200); - } + // for(let user of userList) { + // await user.attendanceDetail(); + // await $.wait(200); + // } console.log('\n================== 金币任务 ==================') if(curHour>=TASK_TIME[0] && curHour