Skip to content

Commit

Permalink
fixed 删除签到时间区间
Browse files Browse the repository at this point in the history
  • Loading branch information
PrintNow committed Jan 8, 2021
1 parent c6acac0 commit a343c27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

//第二个传入区间,是一个数组
//['08:00:00', '23:00:00'] 表示仅能在这两个区间内进行签到
if(!timeInterval(time(), ['08:00:00', '23:00:00'])){
die("仅能在 每天 早上8点到晚上22点之间 签到。如果你要修改,请修改 10 行代码".PHP_EOL);
}
//if(timeInterval(time(), ['08:00:00', '23:00:00'])){
// die("仅能在 每天 早上8点到晚上22点之间 签到。如果你要修改,请修改 10 行代码".PHP_EOL);
//}

if (is_cli() && isset($argv)) {
$param = getopt('A:P:');
Expand Down

0 comments on commit a343c27

Please sign in to comment.