"E0934FEF-EF49-41CF-9548-3A7BE2B5A4C7", "id_number"=>$id_number ]; $response = Http::post($url,$data); if ($response->successful()) { $res = $response->json(); if($res['code']==200 and $res['data']['info']['id']<>0){ if(isset( $res['data']['info']['birthday'])){ $res['data']['info']['age']=\App\Lib\Tools::GetAge( $res['data']['info']['birthday']); } return \Yz::Return(true,"查下成功",$res['data']); }else{ return \Yz::echoError1("查询失败"); } }else{ return \Yz::echoError1("查询失败"); } } }