File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 161612.2 修复打卡问题
171712.3 缩短运行时间,由于企鹅读书版本更新.请手动进去看一次书
181812.3 调整推送时间为12点和24点左右
19+ 12.6 精简打印通知
1920
2021⚠️cookie获取方法:
2122
@@ -216,8 +217,7 @@ else if (i == 13 && K < qqreadhdArr.length - 1) {
216217K += 1 ;
217218all ( ) ;
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+
649650tz += `\n\n========= 脚本执行-北京时间(UTC+8):${ new Date ( new Date ( ) . getTime ( ) + 8 * 60 * 60 * 1000 ) . toLocaleString ( ) } \n\n` ;
650651
651652let d = new Date ( new Date ( ) . getTime ( ) + 8 * 60 * 60 * 1000 ) ;
652653if ( 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
656660if ( notifyInterval == 1 )
657661$ . msg ( jsname , '' , tz ) //显示所有通知
You can’t perform that action at this time.
0 commit comments