yanzai 1 year ago
parent bd41eec8c4
commit e69fef977f

@ -138,10 +138,7 @@ class Tools
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml_data);
$r = curl_exec($ch);
\Illuminate\Support\Facades\Log::info($r);
$r = '<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=\'http://schemas.xmlsoap.org/soap/envelope/\' xmlns:xsi=\'http://www.w3.org/2001/XMLSchema-instance\' xmlns:s=\'http://www.w3.org/2001/XMLSchema\'>
<SOAP-ENV:Body><SendResponse xmlns="http://bjgoodwillcis.com"><SendResult><![CDATA[{"resultCode": 0, "resultMsg": "登记成功", "resultDatas": [{"videoRoom": "", "extNo": "41656268!2", "extParam": "", "checkNo": "USFF1604109", "imageNo": "0000000053", "patientUrl": "https://nanshan-jk.yizhen.cn/yizhen-patient/login?p=ODQwMDA2&amp;itemFkBase=MTg5OTA5MDE", "currentNum": 0, "isStudyGroupRegistration": "Y", "queueNo": "A516"}], "isSuccess": true}]]></SendResult></SendResponse></SOAP-ENV:Body>
</SOAP-ENV:Envelope>';
try {
$xml = simplexml_load_string($r, 'SimpleXMLElement', LIBXML_NOCDATA);
$namespaces = $xml->getNamespaces(true);

Loading…
Cancel
Save