刘桂岩 2 лет назад
Родитель
Сommit
c3821e6a0c
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      app/controller/Index.php

+ 5 - 3
app/controller/Index.php

@@ -66,11 +66,13 @@ class Index extends BaseController
             'ClientID'=>Config::get('app')['dian']['ClientID'],
             'Key'=>Config::get('app')['dian']['ClientGUID'],
             'PageNO'=>1,
-            'model'=>$type,
-            'ClinicID'=>$code
+            'condition'=>[
+                'ClinicID'=>$code,
+                'StartDate'=>'',
+                'EndDate'=>''
+            ]
         ];   //请求参数
 //        try{
-        print_r($client->__getFunctions());
             $result = $client->QueryReports2($data);   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);