|
@@ -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]);
|