fuyu 5 лет назад
Родитель
Сommit
8378ed85ff
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      application/inter/controller/Writereport.php

+ 2 - 0
application/inter/controller/Writereport.php

@@ -538,6 +538,8 @@ class Writereport extends Base
             DB::table('report_record')->insert($info);
             return json_encode(['status'=>'ok','code'=>'0000','msg'=>'已确认']);
         }catch(\Exception $e){
+            Log::record('confirm error ');
+            Log::record($e);
             return json_encode(['status'=>'fail','code'=>'2000','msg'=>$e->getMessage()]);
         }