Update hhyd.js

This commit is contained in:
leafTheFish
2022-06-27 18:14:32 +08:00
parent ae1a667994
commit 1c7bb2cd02

View File

@@ -253,8 +253,8 @@ class UserInfo {
this.money = result.result.moneyCurrent this.money = result.result.moneyCurrent
this.tmpkey = result.result.tmpkey this.tmpkey = result.result.tmpkey
$.logAndNotify(`账号[${this.name}]今天已读${result.result.read}/${result.result.max},剩余花币: ${result.result.moneyCurrent}`) $.logAndNotify(`账号[${this.name}]今天已读${result.result.read}/${result.result.max},剩余花币: ${result.result.moneyCurrent}`)
if(result.result.readred > 0) { if(result.result.readRed > 0) {
for(let i=0; i<result.result.readred; i++) { for(let i=0; i<result.result.readRed; i++) {
let waittime = Math.floor(Math.random()*1000) + 1000; let waittime = Math.floor(Math.random()*1000) + 1000;
await $.wait(waittime); await $.wait(waittime);
await this.readRed(); await this.readRed();