haptear 3 years ago
parent
commit
6321e3469f
  1. 30
      jrttjsb.js

30
jrttjsb.js

@ -162,8 +162,7 @@ async function RunMultiUser() {
}
}
// todo 看文章有问题
// await ReadArticles()
await ReadArticles()
for(userIdx=0; userIdx<userHeaderArr.length; userIdx++) {
if(userStatus[userIdx]==true) await QueryUserInfo(0)
@ -224,19 +223,20 @@ async function ReadArticles() {
await DailyPushReward()
}
}
for(let i=0; i<maxReadPerRun; i++) {
let readFlag = 0
for(userIdx=0; userIdx<userHeaderArr.length; userIdx++) {
if(userStatus[userIdx]==true) {
await ReadArtsReward()
readFlag = 1
}
}
if(readFlag ==1 && i<maxReadPerRun-1) {
console.log('等待15秒阅读下一篇...')
await $.wait(15100)
}
}
// todo 看文章有问题
// for(let i=0; i<maxReadPerRun; i++) {
// let readFlag = 0
// for(userIdx=0; userIdx<userHeaderArr.length; userIdx++) {
// if(userStatus[userIdx]==true) {
// await ReadArtsReward()
// readFlag = 1
// }
// }
// if(readFlag ==1 && i<maxReadPerRun-1) {
// console.log('等待15秒阅读下一篇...')
// await $.wait(15100)
// }
// }
}
//阅读文章奖励

Loading…
Cancel
Save