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

+ 1 - 1
app/controller/Index.php

@@ -74,7 +74,7 @@ class Index extends BaseController
 //        try{
             $a2x = new array2xml();
             $data = $a2x->toXml($data);
-            var_dump(['ReqInfo'=>$data]);die;
+            var_dump(['ReqInfo'=>htmlspecialchars($data)]);die;
             $result = $client->QueryReports2(['ReqInfo'=>$data]);   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);