刘桂岩 2 år sedan
förälder
incheckning
0d876cccb6
1 ändrade filer med 2 tillägg och 1 borttagningar
  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();