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

+ 2 - 1
app/controller/Index.php

@@ -61,7 +61,7 @@ class Index extends BaseController
         $type = 1;
         libxml_disable_entity_loader(false);
         $client = new \SoapClient("https://r.dalabs.cn/ReportService.asmx?wsdl");
-        $data = [
+        $data = ['ReqInfo'=>[
             'ClientID'=>Config::get('app')['dian']['ClientID'],
             'Key'=>Config::get('app')['dian']['ClientGUID'],
             'PageNO'=>1,
@@ -71,6 +71,7 @@ class Index extends BaseController
                 'EndDate'=>''
             ],
             'Model'=>1
+    ]
         ];   //请求参数
 //        try{
             $a2x = new array2xml();