|  | @@ -1855,8 +1855,8 @@ class IndexController extends WebBaseController
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              $health_result = $this->baiduService->health_code(file_get_contents(base_path() . "/public" . $health_code[0]['response']['path']));
 | 
	
		
			
				|  |  |              $health_msg = ['健康码自动审核通过'];
 | 
	
		
			
				|  |  | -            $h_status = 1;
 | 
	
		
			
				|  |  | -            $appoint_info->health_audit = 1;
 | 
	
		
			
				|  |  | +            //$h_status = 1;
 | 
	
		
			
				|  |  | +            //$appoint_info->health_audit = 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){
 | 
	
	
		
			
				|  | @@ -1883,9 +1883,9 @@ class IndexController extends WebBaseController
 | 
	
		
			
				|  |  |                  }else{
 | 
	
		
			
				|  |  |                      array_push($health_msg,'健康码错误,识别不到时间!');
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                $data['h_status'] = $h_status;
 | 
	
		
			
				|  |  | +                //$data['h_status'] = $h_status;
 | 
	
		
			
				|  |  |                  $data['h_msg'] = implode(';',$health_msg);
 | 
	
		
			
				|  |  | -                $appoint_info->health_audit = $h_status == 1 ? 1 : 4;
 | 
	
		
			
				|  |  | +                //$appoint_info->health_audit = $h_status == 1 ? 1 : 4;
 | 
	
		
			
				|  |  |                  $data['health_code'] = json_encode($health_code);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -1929,6 +1929,9 @@ class IndexController extends WebBaseController
 | 
	
		
			
				|  |  |              $data['trip_result'] = json_encode($trip_result);
 | 
	
		
			
				|  |  |              $data['trip_code'] = json_encode($trip_code);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +            $data['h_status'] = 0;
 | 
	
		
			
				|  |  | +            $appoint_info->health_audit = 4;
 | 
	
		
			
				|  |  |              RecruitSupplement::create($data);
 | 
	
		
			
				|  |  |              $appoint_info->save();
 | 
	
		
			
				|  |  |              return ['status' => 1, 'msg' => '提交成功,请刷新查看审核结果', 'data' => ''];
 |