Skip to content

Commit beac899

Browse files
author
ziye12
authored
企鹅读书 目前必须每天手动看一次书,才能恢复正常
1 parent 863dc59 commit beac899

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Task/qqreads.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
12.2 修复打卡问题
1717
12.3 缩短运行时间,由于企鹅读书版本更新.请手动进去看一次书
1818
12.3 调整推送时间为12点和24点左右
19+
12.6 精简打印通知
1920
2021
⚠️cookie获取方法:
2122
@@ -216,8 +217,7 @@ else if (i == 13 && K < qqreadhdArr.length - 1) {
216217
K += 1;
217218
all();
218219
} else if (i == 13 && K == qqreadhdArr.length - 1) {
219-
showmsg();//通知
220-
console.log(tz)
220+
showmsg();//通知
221221
$.done();
222222
}
223223
},
@@ -645,13 +645,17 @@ tz+='【周时长奖励'+(i+1)+'】:领取'+Packageid[i]+'阅豆\n'
645645
}
646646

647647

648-
function showmsg() {
648+
function showmsg() {
649+
649650
tz += `\n\n========= 脚本执行-北京时间(UTC+8):${new Date(new Date().getTime() + 8 * 60 * 60 * 1000).toLocaleString()} \n\n`;
650651

651652
let d = new Date(new Date().getTime() + 8 * 60 * 60 * 1000);
652653
if (d.getHours()==12 && d.getMinutes()<=20 ||d.getHours()==23 && d.getMinutes()>=40 ) {
653654
notify.sendNotify(jsname,kz)
654655
}
656+
657+
if (notifyInterval!=1)
658+
console.log(tz)//无通知时,打印通知
655659

656660
if (notifyInterval==1)
657661
$.msg(jsname,'',tz)//显示所有通知

0 commit comments

Comments
 (0)