Skip to content

Commit 2b4f76a

Browse files
committed
修复中青打卡时时间
1 parent 2d8a855 commit 2b4f76a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎Task/youth.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
更新时间: 2020-09-22 22:15
2+
更新时间: 2020-09-24 11:15
33
赞赏:中青邀请码`46308484`,农妇山泉 -> 有点咸,万分感谢
44
本脚本仅适用于中青看点极速版领取青豆
55
@@ -151,8 +151,12 @@ if (isGetCookie = typeof $request !== 'undefined') {
151151
if($.time('HH')>12){
152152
await punchCard()
153153
};
154-
console.log($.time('HH:mm'))
154+
if ($.isNode()&& $.time('HH')>20&&$.time('HH')<22){
155155
await endCard();
156+
}
157+
else if ($.time('HH')>4&&$.time('HH')<8){
158+
await endCard();
159+
}
156160
await openbox();
157161
await getAdVideo();
158162
await gameVideo();

0 commit comments

Comments
 (0)