Browse Source

更新择岗功能

sandm 2 years ago
parent
commit
f29481c1d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Web/Recruit/IndexController.php

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

@@ -2124,7 +2124,7 @@ class IndexController extends WebBaseController
         $recruit_id = $request->input('recruit_id');
         $appoint_id = $request->input('appoint_id');
         $info = RecruitAppointSelect::where('uid',$uid)->where('recruit_id',$recruit_id)->where('appoint_id',$appoint_id)->first();
-        if($info){
+        if($info->result){
             return ['status' => 0, 'msg' => "择岗数据已提交!"];
         }
         $data = [