|
@@ -76,7 +76,8 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
$info = Recruit::parse_info($recruit);
|
|
|
$appoint_info = RecruitAppointInfo::where('uid',$uid)->where('recruit_id',$id)->first();
|
|
|
- if(!$info->isApply && $appoint_info){
|
|
|
+ $time = time();
|
|
|
+ if(!$info->isApply && $appoint_info && ($time >= $recruit->audit_start && $time <= $recruit->audit_end)){
|
|
|
$first_post = RecruitAppointLog::where('type',3)->where('uid',$uid)->orderBy('created_at','asc')->first();
|
|
|
if($first_post){
|
|
|
$info->isApply = 1;
|