|
|
|
|
@ -137,7 +137,7 @@ class AppointmentService
|
|
|
|
|
$url = config('app.globals.GongWeiBaseUrl');
|
|
|
|
|
$res=\Yz::XmlHttp($SendData,$url);
|
|
|
|
|
//如果没有返回queryCheckUp节点,返回异常
|
|
|
|
|
if(!isset($res['queryCheckUp'])) {
|
|
|
|
|
if(!isset($res['queryCheckUp']) and $res!="") {
|
|
|
|
|
$result['status']=false;
|
|
|
|
|
$result['msg']='公卫接口异常';
|
|
|
|
|
$result['GongWeiinfo']=$res;
|
|
|
|
|
@ -159,8 +159,13 @@ class AppointmentService
|
|
|
|
|
}else{
|
|
|
|
|
$result['status']=true;
|
|
|
|
|
$result['msg']='公卫无记录';
|
|
|
|
|
if( $res=="" or $res==null){
|
|
|
|
|
$result['GongWeiinfo']="公卫返回空";
|
|
|
|
|
}else{
|
|
|
|
|
$result['GongWeiinfo']=$res['queryCheckUp'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return $result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|