刘桂岩 3 years ago
parent
commit
42426a6ace
1 changed files with 1 additions and 2 deletions
  1. 1 2
      app/controller/Index.php

+ 1 - 2
app/controller/Index.php

@@ -89,8 +89,7 @@ class Index extends BaseController
             Db::table('dianapiinfo')->where('Barcode',$code)->update(['pdf_xml'=>json_encode($result)]);
             $data = ((array)$result)['QueryReports2Result'];
             $info = json_decode(json_encode($data),true);
-            var_dump($info);die;
-            Db::table('api_log')->insert(['type'=>4,'barcode'=>$code]);
+            Db::table('api_log')->insert(['type'=>4,'barcode'=>$code,'data'=>json_encode($result)]);
             if($info)
             {
                 $returnCode = $info['ResultCode'];