刘桂岩 2 年之前
父节点
当前提交
582ac4b008
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      app/controller/Index.php

+ 5 - 5
app/controller/Index.php

@@ -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){