|
@@ -71,7 +71,6 @@ class Index extends BaseController
|
|
|
'StartDate'=>'',
|
|
|
'EndDate'=>''
|
|
|
]])); //请求获取接口
|
|
|
- Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>json_encode($result)]);
|
|
|
$data = ((array)$result)['QueryReports2Result'];
|
|
|
$info = json_decode(json_encode($data),true);
|
|
|
Db::table('api_log')->insert(['type'=>4,'barcode'=>$code,'data'=>json_encode($result)]);
|
|
@@ -97,6 +96,7 @@ class Index extends BaseController
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>json_encode($result)]);
|
|
|
return 'success';
|
|
|
}catch(\SoapFault $e){
|
|
|
return $e->getMessage();
|