|
@@ -1948,7 +1948,7 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
|
|
|
$health_result = $this->baiduService->health_code(file_get_contents(base_path() . "/public" . $health_code[0]['response']['path']));
|
|
|
- $health_msg = [];
|
|
|
+ $health_msg = ['健康码自动审核通过'];
|
|
|
$h_status = 1;
|
|
|
$appoint_info->health_audit = 1;
|
|
|
if(!array_key_exists('error_msg',$health_result) && !array_key_exists('error_code',$health_result)){
|
|
@@ -1978,7 +1978,7 @@ class IndexController extends WebBaseController
|
|
|
array_push($health_msg,'健康码错误,识别不到时间!');
|
|
|
}
|
|
|
$data['h_status'] = $h_status;
|
|
|
- $data['h_msg'] = $h_status == 1 ? '健康码自动审核通过' : implode(';',$health_msg);
|
|
|
+ $data['h_msg'] = implode(';',$health_msg);
|
|
|
$appoint_info->health_audit = $h_status == 1 ? 1 : 4;
|
|
|
$data['health_code'] = json_encode($health_code);
|
|
|
}
|