|
@@ -72,7 +72,7 @@ class Index extends BaseController
|
|
|
// ],
|
|
|
// 'Model'=>1
|
|
|
// ]; //请求参数
|
|
|
-// try{
|
|
|
+ try{
|
|
|
// $a2x = new array2xml();
|
|
|
// $data = $a2x->toXml($data);
|
|
|
// var_dump(htmlspecialchars($data));
|
|
@@ -100,7 +100,7 @@ class Index extends BaseController
|
|
|
if(isset($info['Datas']['Report']['ClinicID']))
|
|
|
{
|
|
|
$pdf = $info['Datas']['Report']['PdfReportUrl'];
|
|
|
- var_dump($pdf);
|
|
|
+ var_dump($pdf);die;
|
|
|
$name = $info['Datas']['Report']['ClinicID'];
|
|
|
$this->downImgRar($pdf,$name,'pdf',$info['Datas']['Report']['ClinicID']);
|
|
|
}else{
|
|
@@ -114,9 +114,9 @@ class Index extends BaseController
|
|
|
|
|
|
}
|
|
|
return 'success';
|
|
|
-// }catch(\SoapFault $e){
|
|
|
-// return $e->getMessage();
|
|
|
-// }
|
|
|
+ }catch(\SoapFault $e){
|
|
|
+ return $e->getMessage();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
function downImgRar($url,$rename,$ext,$barCode){
|