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

+ 1 - 1
app/controller/Index.php

@@ -73,7 +73,7 @@ class Index extends BaseController
             ]
         ];   //请求参数
 //        try{
-            $result = $client->QueryReports2($data);   //请求获取接口
+            $result = $client->QueryReports2(['ReqInfo'=>$data]);   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);
             $data = ((array)$result)['GetReportInfoResult'];