刘桂岩 2 年之前
父节点
当前提交
773d733af6
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      app/controller/Index.php

+ 3 - 2
app/controller/Index.php

@@ -76,8 +76,9 @@ class Index extends BaseController
 //        try{
             $a2x = new array2xml();
             $data = $a2x->toXml($data);
-            var_dump(htmlspecialchars($data));
-            var_dump($data);
+            $data = "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><QueryReports2 xmlns=\"http://r.dalabs.cn\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"><ReqInfo><ClientID>黑龙江昆仑上德体检中心</ClientID><Key>79A5CFF272A203F9E0530BF0000AE4D1</Key><PageNo>1</PageNo><Condition><ClinicID>12206060840019</ClinicID><StartDate/><EndDate/></Condition></ReqInfo></QueryReports2></s:Body></s:Envelope>";
+//            var_dump(htmlspecialchars($data));
+//            var_dump($data);
             $result = $client->QueryReports2(array('ReqInfo'=>$data));   //请求获取接口
             var_dump($result);die;
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>$result]);