Skip to content

Commit eefe578

Browse files
author
ziye12
authored
Update qqreads.js
1 parent 97df8a1 commit eefe578

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Task/qqreads.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,11 +630,11 @@ tz+='【周时长奖励'+(i+1)+'】:领取'+Packageid[i]+'阅豆\n'
630630

631631
function showmsg() {
632632
tz += `\n\n========= 脚本执行时间(TM):${new Date(new Date().getTime() + 0 * 60 * 60 * 1000).toLocaleString('zh', {hour12: false})} \n\n`;
633-
tz +=$.time('HH');
634-
635-
if (($.isNode())&&($.time('HH')+8)=23)
636-
notify.sendNotify(jsname,tz)
637633

634+
let d = new Date(new Date().getTime() + 8 * 60 * 60 * 1000);
635+
if (d.getHours()==0 && d.getMinutes()<=40 ) {
636+
notify.sendNotify(jsname,tz)
637+
}
638638
if (notifyInterval==1)
639639
$.msg(jsname,'',tz)//显示所有通知
640640

0 commit comments

Comments
 (0)