刘桂岩 3 년 전
부모
커밋
42426a6ace
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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'];