Bladeren bron

更新超过审核时间无法继续报名

sandm 2 jaren geleden
bovenliggende
commit
aaf2e260b8
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      app/Http/Controllers/Web/Recruit/IndexController.php

+ 1 - 2
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -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;