刘桂岩 2 năm trước cách đây
mục cha
commit
5256d4da31
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      app/controller/Index.php

+ 2 - 1
app/controller/Index.php

@@ -88,12 +88,13 @@ class Index extends BaseController
                 ]]));   //请求获取接口
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>json_encode($result)]);
             $data = ((array)$result)['QueryReports2Result'];
-            var_dump($data);die;
             $info = json_decode(json_encode($data),true);
+            var_dump($info);
             Db::table('api_log')->insert(['type'=>4,'barcode'=>$code,'data'=>json_encode($result)]);
             if($info)
             {
                 $returnCode = $info['ResultCode'];
+                var_dump($returnCode);
                 if($returnCode !== '1')
                 {
                     return '报告PDF获取失败!迪安回传信息:'.$info['ResultMsg'];