刘桂岩 3 년 전
부모
커밋
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]);