...
|
...
|
@@ -1258,7 +1258,8 @@ class SecondController extends RestBaseController |
|
|
$this->error('当前日期无法打卡');
|
|
|
}
|
|
|
$config=cmf_get_option('site_info');
|
|
|
$adminEndTime=strtotime("$date.' '.$activity[end_clock_time]");
|
|
|
$adminEndTime=strtotime("$date $activity[end_clock_time]");
|
|
|
|
|
|
$now=time();
|
|
|
if (($adminEndTime-$config['before_end_time']*60)>$now || ($adminEndTime+$config['after_end_time']*60)<$now){
|
|
|
$this->error('当前时间无法打卡');
|
...
|
...
|
|