Skip to content

Commit 5edcf88

Browse files
author
robot
committed
feat: 重置打卡
1 parent 0281b8b commit 5edcf88

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

schedule/check-in.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ function resetCards() {
2525
);
2626
}
2727

28-
resetCards();
29-
3028
function run(n) {
3129
// 返回目前为止满勤的人(连续七天可获取补签卡)
3230
function fullCheckIn(from = 37, to = getDay()) {
@@ -148,3 +146,5 @@ const TODAY = getDay(new Date().getTime() - MS_PER_HOUR);
148146
if (TODAY - getDay(lastUpdateTime) > 0) {
149147
run(7);
150148
}
149+
150+
// resetCards();

static/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"users":{"lastUpdateTime":1634469526164},"dailyCheck":{"lastUpdateTime":1634468928120},"checkIn":{"lastUpdateTime":1634472011740}}
1+
{"users":{"lastUpdateTime":1634469526164},"dailyCheck":{"lastUpdateTime":1634468928120},"checkIn":{"lastUpdateTime":1634472182282}}

static/users/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)