瀏覽代碼

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

sandm 2 年之前
父節點
當前提交
aaf2e260b8
共有 1 個文件被更改,包括 1 次插入2 次删除
  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;