소스 검색

专题写入失败

gorden 7 달 전
부모
커밋
e36a81faef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/controller/Curd.php

+ 1 - 1
app/controller/Curd.php

@@ -127,7 +127,7 @@ class Curd
         } catch (BusinessException $e) {
             return json_fail($e->getMessage());
         } catch (\Exception $e) {
-            dump($e->getMessage());
+            Log::error("数据更新失败",['msg'=>$e->getMessage()]);
             return json_fail('数据更新失败');
         }