刘桂岩 2 年 前
コミット
41e8ff822b
1 ファイル変更2 行追加1 行削除
  1. 2 1
      app/controller/Index.php

+ 2 - 1
app/controller/Index.php

@@ -77,7 +77,8 @@ class Index extends BaseController
             $data = $a2x->toXml($data);
 //            var_dump(htmlspecialchars($data));
 //            var_dump($data);
-            $result = $client->QueryReports2(array('ReqInfo'=>['PageNo'=>1]));   //请求获取接口
+            $result = $client->QueryReports2(array('ReqInfo'=>['PageNo'=>1,'ClientID'=>Config::get('app')['dian']['ClientID'],
+                'Key'=>Config::get('app')['dian']['ClientGUID'],]));   //请求获取接口
 //        return $result;
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);