刘桂岩 2 年之前
父節點
當前提交
0069c1a552
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/controller/Index.php

+ 2 - 0
app/controller/Index.php

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