刘桂岩 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();