...
|
...
|
@@ -200,9 +200,9 @@ class SignController extends RestBaseController |
|
|
$score=$score['sleep_sign_score'];
|
|
|
$type='sleep';
|
|
|
}
|
|
|
if(time()>$end_time){
|
|
|
$this->error('当前签到时间已过');
|
|
|
}
|
|
|
// if(time()>$end_time){
|
|
|
// $this->error('当前签到时间已过');
|
|
|
// }
|
|
|
if(Db::name('user_sign')->where('user_id',$user['id'])->whereNotNull("$type")->find()){
|
|
|
$this->error('当前时间段已签到');
|
|
|
}
|
...
|
...
|
|