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

+ 6 - 6
app/controller/Index.php

@@ -66,10 +66,10 @@ class Index extends BaseController
             'ClientID'=>Config::get('app')['dian']['ClientID'],
             'Key'=>Config::get('app')['dian']['ClientGUID'],
             'PageNO'=>1,
-            'ClinicID'=>$code,
-            'model'=>$type
+            'model'=>$type,
+            'ClinicID'=>$code
         ];   //请求参数
-        try{
+//        try{
             $result = $client->QueryReports2($data);   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);
@@ -100,9 +100,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){