__setLocation("http://106.12.158.247:8091"); // 打印所有支持的接口 print_r($client->__getFunctions()); print_r($client->SelectRecordServerInfo()); */ /* $client = new SoapClient("http://localhost:8091/?wsdl"); $client->__setLocation("http://localhost:8091"); //获取录音录像服务器IP和端口 print_r($client->SelectRecordServerInfo()); */ /* // 录音录像服务器测试 // 公网124.205.140.5映射到 8092 端口,内网默认端口为 8091 $client2 = new SoapClient("http://124.205.140.5:8092/?wsdl"); $client2->__setLocation("http://124.205.140.5:8092"); // 打印所有支持的接口 print_r($client2->__getFunctions()); print_r($client2->GetRecords2('2017-01-01 00:00:00','2021-05-30 00:00:00',-1,-1,'',0,-1,1,100,1,-1,'')); */ $client = new SoapClient("http://172.19.2.76:8091/?wsdl"); //获取录音录像服务器展开前数据 print_r(json_encode($client->GetRecords3('2017-01-01 00:00:00','2021-05-30 00:00:00',-1,-1,'','',0,-1,1,100,1,-1,''))); //print_r(json_encode($client->GetSubRecords('3AAC0BB9-73A0-472A-9ACE-3B8901315DE8',1,100))); //print_r($client->GetEmployeeListAll()); print_r($client->SelectRecordServerInfo()); ?>