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