刘桂岩 %!s(int64=2) %!d(string=hai) anos
pai
achega
b80845b61e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/controller/Index.php

+ 1 - 1
app/controller/Index.php

@@ -58,7 +58,6 @@ class Index extends BaseController
 
     public function getPdf($code)
     {
-        var_dump($code);
         $type = 1;
         libxml_disable_entity_loader(false);
         $client = new \SoapClient("https://r.dalabs.cn/ReportService.asmx?wsdl");
@@ -75,6 +74,7 @@ class Index extends BaseController
 //        try{
             $a2x = new array2xml();
             $data = $a2x->toXml($data);
+            var_dump(['ReqInfo'=>$data]);die;
             $result = $client->QueryReports2(['ReqInfo'=>$data]);   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);