Browse Source

更新两码上传

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

+ 3 - 0
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -1950,6 +1950,9 @@ class IndexController extends WebBaseController
             $h_status = 1;
             if(!array_key_exists('error_msg',$health_result) && !array_key_exists('error_code',$health_result)){
                 if(array_key_exists('姓名',$health_result)){
+                    if(stripos($health_result['姓名'][0]['word'],'*')>0){
+                        return ['status' => 0, 'msg' => '请打开健康码的“眼睛开关”,显示完整个人信息'];
+                    }
                     if($health_result['姓名'][0]['word'] != $appoint_info->realname){
                         array_push($health_msg,'抱歉,请上传您本人的健康码!');
                         $h_status = 0;